Skip to content

Commit 83d13a8

Browse files
Increased buttons area for timer
1 parent 25cb183 commit 83d13a8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Sources/SprenUI/UI/Screens/Flows/BodyComp/CameraScreen/CameraScreenTimerSelectionContainer.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@ struct CameraScreenTimerSelectionContainer: View {
1616
ZStack {
1717
VisualEffectView(effect: UIBlurEffect(style: .dark)).edgesIgnoringSafeArea(.bottom)
1818

19-
VStack(spacing: Autoscale.convert(35)) {
19+
VStack {
2020
Button {
2121
model.setTimer(nil)
2222
buttonCallBack()
2323
} label: {
2424
Text("timer off")
2525
.font(.sprenParagraph)
2626
.foregroundColor(model.isTimerOn == nil ? Color.sprenUISecondaryColor : .white)
27+
.padding(.bottom, Autoscale.convert(10))
2728
}
2829

2930
Button {
@@ -33,6 +34,8 @@ struct CameraScreenTimerSelectionContainer: View {
3334
Text("5s")
3435
.font(.sprenParagraph)
3536
.foregroundColor(model.isTimerOn == 5 ? Color.sprenUISecondaryColor : .white)
37+
.padding(.top, Autoscale.convert(22))
38+
.padding(.bottom, Autoscale.convert(22))
3639
}
3740

3841
Button {
@@ -42,6 +45,7 @@ struct CameraScreenTimerSelectionContainer: View {
4245
Text("10s")
4346
.font(.sprenParagraph)
4447
.foregroundColor(model.isTimerOn == 10 ? Color.sprenUISecondaryColor : .white)
48+
.padding(.top, Autoscale.convert(10))
4549
}
4650
}.padding(.vertical, Autoscale.convert(20))
4751
}.fixedSize(horizontal: false, vertical: true)

0 commit comments

Comments
 (0)