placement of toggle image

This commit is contained in:
Trey t
2022-02-04 17:20:19 -06:00
parent dc360de355
commit 9cf450f8c5

View File

@@ -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))
} }