Parcourir la source

Add SF-symbol for Back

Jon Mårtensson il y a 2 ans
Parent
commit
70ceb0dd72

+ 6 - 2
FreeAPS/Sources/Modules/Bolus/View/AlternativeBolusCalcRootView.swift

@@ -170,8 +170,12 @@ extension Bolus {
                 leading: Button {
                 leading: Button {
                     carbsView()
                     carbsView()
                 }
                 }
-                label: { Text(fetch ? "Back" : "Meal") },
-
+                label: {
+                    HStack {
+                        Image(systemName: "chevron.backward")
+                        Text("Meal")
+                    }
+                },
                 trailing: Button { state.hideModal() }
                 trailing: Button { state.hideModal() }
                 label: { Text("Close") }
                 label: { Text("Close") }
             )
             )

+ 6 - 2
FreeAPS/Sources/Modules/Bolus/View/DefaultBolusCalcRootView.swift

@@ -155,8 +155,12 @@ extension Bolus {
                 leading: Button {
                 leading: Button {
                     carbsView()
                     carbsView()
                 }
                 }
-                label: { Text(fetch ? "Back" : "Meal") },
-
+                label: {
+                    HStack {
+                        Image(systemName: "chevron.backward")
+                        Text("Meal")
+                    }
+                },
                 trailing: Button { state.hideModal() }
                 trailing: Button { state.hideModal() }
                 label: { Text("Close") }
                 label: { Text("Close") }
             )
             )