Kaynağa Gözat

Add SF-symbol for Back

Jon Mårtensson 2 yıl önce
ebeveyn
işleme
70ceb0dd72

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

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

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

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