placement of toggle image
This commit is contained in:
@@ -30,12 +30,12 @@ struct SwitchableView: View {
|
|||||||
Spacer()
|
Spacer()
|
||||||
Image(systemName: "arrow.triangle.2.circlepath.circle")
|
Image(systemName: "arrow.triangle.2.circlepath.circle")
|
||||||
.resizable()
|
.resizable()
|
||||||
.frame(width: 25, height: 25, alignment: .trailing)
|
.frame(width: 20, height: 20, alignment: .trailing)
|
||||||
}
|
}
|
||||||
Spacer()
|
Spacer()
|
||||||
}
|
}
|
||||||
.padding(.trailing, 8)
|
.padding(.trailing, 8)
|
||||||
.padding(.top, 8)
|
.padding(.top, 12)
|
||||||
.allowsHitTesting(false)
|
.allowsHitTesting(false)
|
||||||
.foregroundColor(Color(UIColor.systemGray))
|
.foregroundColor(Color(UIColor.systemGray))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user