Skip to content

Commit 5eba292

Browse files
committed
resolving git issue
1 parent e9d7001 commit 5eba292

5 files changed

Lines changed: 45 additions & 0 deletions

File tree

InfiniLink.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -760,6 +760,7 @@
760760
isa = XCBuildConfiguration;
761761
buildSettings = {
762762
ALWAYS_SEARCH_USER_PATHS = NO;
763+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
763764
CLANG_ANALYZER_NONNULL = YES;
764765
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
765766
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
@@ -821,6 +822,7 @@
821822
isa = XCBuildConfiguration;
822823
buildSettings = {
823824
ALWAYS_SEARCH_USER_PATHS = NO;
825+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
824826
CLANG_ANALYZER_NONNULL = YES;
825827
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
826828
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";

InfiniLink/View Components/Sheets/ArbitraryNotificationView.swift

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,22 @@ struct ArbitraryNotificationSheet: View {
5151
=======
5252
Text("Title: ")
5353
.padding(.horizontal)
54+
<<<<<<< HEAD
5455
>>>>>>> d1c98d0 (Removed some superfluous padding and labels from the step adjustment sheet for better usability on small screens)
56+
=======
57+
Text("\(NSLocalizedString("title", comment: "")): ")
58+
.padding(.leading)
59+
>>>>>>> d738921 (resolving git issue)
5560
TextField("", text: $notificationTitle)
5661
}
5762
Divider()
5863
.padding(.horizontal)
5964
TextEditor(text: $notificationBody)
6065
.padding(.horizontal)
6166
<<<<<<< HEAD
67+
<<<<<<< HEAD
68+
=======
69+
>>>>>>> d738921 (resolving git issue)
6270
Button(action: {
6371
UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
6472
if !notificationBody.isEmpty || !notificationTitle.isEmpty {
@@ -77,8 +85,11 @@ struct ArbitraryNotificationSheet: View {
7785
.padding(.horizontal, 20)
7886
.padding(.bottom)
7987
}
88+
<<<<<<< HEAD
8089
=======
8190
>>>>>>> 7869ee0 (Removed large button from send notification sheet and replaced it with a simple "send" button at the top that matches the "close" button. This should help people with smaller screens and/or accessibility tweaks)
91+
=======
92+
>>>>>>> d738921 (resolving git issue)
8293
}
8394
}
8495
}

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

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

2424
var body: some View {
25+
<<<<<<< HEAD
2526
<<<<<<< HEAD
2627
Text(NSLocalizedString("manually_add_step_count", comment: ""))
2728
.font(.title2)
@@ -34,6 +35,19 @@ struct StepSettingsSheetDatePicker: View {
3435
.padding(.horizontal)
3536
TextField("Enter Number of Steps", text: $addDateValue.value)
3637
>>>>>>> d1c98d0 (Removed some superfluous padding and labels from the step adjustment sheet for better usability on small screens)
38+
=======
39+
DatePicker("Select Date", selection: $selectedDate, displayedComponents: [.date])
40+
.padding(.horizontal)
41+
TextField("Enter Number of Steps", text: $addDateValue.value)
42+
=======
43+
Text(NSLocalizedString("manually_add_step_count", comment: ""))
44+
.font(.title2)
45+
.padding()
46+
DatePicker(NSLocalizedString("select_date", comment: ""), selection: $selectedDate, displayedComponents: [.date])
47+
.padding()
48+
TextField(NSLocalizedString("enter_number_of_steps", comment: ""), text: $addDateValue.value)
49+
>>>>>>> main
50+
>>>>>>> d738921 (resolving git issue)
3751
.textFieldStyle(.roundedBorder)
3852
.padding(.horizontal)
3953
.keyboardType(.numberPad)

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

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

2424
var body: some View {
25+
<<<<<<< HEAD
2526
<<<<<<< HEAD
2627
Text(NSLocalizedString("change_step_count_goal", comment: ""))
2728
.font(.title2)
@@ -30,6 +31,15 @@ struct StepSettingsSheetGoalChange: View {
3031
=======
3132
TextField("Enter Step Goal", text: $setStepGoal.value)
3233
>>>>>>> d1c98d0 (Removed some superfluous padding and labels from the step adjustment sheet for better usability on small screens)
34+
=======
35+
TextField("Enter Step Goal", text: $setStepGoal.value)
36+
=======
37+
Text(NSLocalizedString("change_step_count_goal", comment: ""))
38+
.font(.title2)
39+
.padding()
40+
TextField(NSLocalizedString("enter_step_goal", comment: ""), text: $setStepGoal.value)
41+
>>>>>>> main
42+
>>>>>>> d738921 (resolving git issue)
3343
.textFieldStyle(.roundedBorder)
3444
.padding()
3545
.keyboardType(.numberPad)

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,20 @@ struct StepSettingsSheet: View {
1616
VStack (alignment: .leading) {
1717
SheetCloseButton()
1818
<<<<<<< HEAD
19+
<<<<<<< HEAD
20+
=======
21+
=======
22+
>>>>>>> d738921 (resolving git issue)
1923
Text(NSLocalizedString("steps_settings", comment: ""))
2024
.font(.largeTitle)
2125
.padding()
2226
.padding(.bottom, 20)
27+
<<<<<<< HEAD
2328
=======
2429
>>>>>>> d1c98d0 (Removed some superfluous padding and labels from the step adjustment sheet for better usability on small screens)
30+
=======
31+
>>>>>>> main
32+
>>>>>>> d738921 (resolving git issue)
2533
Picker("", selection: $pickerState) {
2634
Text(NSLocalizedString("step_goal", comment: "")).tag(0)
2735
Text(NSLocalizedString("add_steps", comment: "")).tag(1)

0 commit comments

Comments
 (0)