Skip to content

Commit e9d7001

Browse files
committed
Removed some superfluous padding and labels from the step adjustment sheet for better usability on small screens
1 parent 9307e1e commit e9d7001

4 files changed

Lines changed: 19 additions & 1 deletion

File tree

InfiniLink/View Components/Sheets/ArbitraryNotificationView.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,13 @@ struct ArbitraryNotificationSheet: View {
4545
Divider()
4646
.padding(.horizontal)
4747
HStack {
48+
<<<<<<< HEAD
4849
Text("\(NSLocalizedString("title", comment: "")): ")
4950
.padding(.leading)
51+
=======
52+
Text("Title: ")
53+
.padding(.horizontal)
54+
>>>>>>> d1c98d0 (Removed some superfluous padding and labels from the step adjustment sheet for better usability on small screens)
5055
TextField("", text: $notificationTitle)
5156
}
5257
Divider()

InfiniLink/View Components/Sheets/StepsSettingsSheet/StepSettingsDatePicker.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,20 @@ struct StepSettingsSheetDatePicker: View {
2222
}
2323

2424
var body: some View {
25+
<<<<<<< HEAD
2526
Text(NSLocalizedString("manually_add_step_count", comment: ""))
2627
.font(.title2)
2728
.padding()
2829
DatePicker(NSLocalizedString("select_date", comment: ""), selection: $selectedDate, displayedComponents: [.date])
2930
.padding()
3031
TextField(NSLocalizedString("enter_number_of_steps", comment: ""), text: $addDateValue.value)
32+
=======
33+
DatePicker("Select Date", selection: $selectedDate, displayedComponents: [.date])
34+
.padding(.horizontal)
35+
TextField("Enter Number of Steps", text: $addDateValue.value)
36+
>>>>>>> d1c98d0 (Removed some superfluous padding and labels from the step adjustment sheet for better usability on small screens)
3137
.textFieldStyle(.roundedBorder)
32-
.padding()
38+
.padding(.horizontal)
3339
.keyboardType(.numberPad)
3440
Button {
3541
StepCountPersistenceManager().setStepCount(steps: Int(addDateValue.value)!, arbitrary: true, date: selectedDate)

InfiniLink/View Components/Sheets/StepsSettingsSheet/StepSettingsGoalChange.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,14 @@ struct StepSettingsSheetGoalChange: View {
2222
}
2323

2424
var body: some View {
25+
<<<<<<< HEAD
2526
Text(NSLocalizedString("change_step_count_goal", comment: ""))
2627
.font(.title2)
2728
.padding()
2829
TextField(NSLocalizedString("enter_step_goal", comment: ""), text: $setStepGoal.value)
30+
=======
31+
TextField("Enter Step Goal", text: $setStepGoal.value)
32+
>>>>>>> d1c98d0 (Removed some superfluous padding and labels from the step adjustment sheet for better usability on small screens)
2933
.textFieldStyle(.roundedBorder)
3034
.padding()
3135
.keyboardType(.numberPad)

InfiniLink/View Components/Sheets/StepsSettingsSheet/StepsSettingsSheet.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,13 @@ struct StepSettingsSheet: View {
1515
var body: some View {
1616
VStack (alignment: .leading) {
1717
SheetCloseButton()
18+
<<<<<<< HEAD
1819
Text(NSLocalizedString("steps_settings", comment: ""))
1920
.font(.largeTitle)
2021
.padding()
2122
.padding(.bottom, 20)
23+
=======
24+
>>>>>>> d1c98d0 (Removed some superfluous padding and labels from the step adjustment sheet for better usability on small screens)
2225
Picker("", selection: $pickerState) {
2326
Text(NSLocalizedString("step_goal", comment: "")).tag(0)
2427
Text(NSLocalizedString("add_steps", comment: "")).tag(1)

0 commit comments

Comments
 (0)