Procházet zdrojové kódy

change tabbar icon to graph instead of house, shorten treatments button text

polscm32 před 2 roky
rodič
revize
4f52020500

+ 1 - 1
FreeAPS/Sources/Modules/Bolus/BolusStateModel.swift

@@ -263,7 +263,7 @@ extension Bolus {
                 addButtonPressed = true
 
                 // if glucose data is stale end the custom loading animation by hiding the modal
-                //alternatively only set waitforSuggestion to false...
+                // alternatively only set waitforSuggestion to false...
                 let lastGlucoseDate = glucoseStorage.lastGlucoseDate()
                 guard lastGlucoseDate >= Date().addingTimeInterval(-12.minutes.timeInterval) else {
                     return hideModal()

+ 1 - 1
FreeAPS/Sources/Modules/Bolus/View/AlternativeBolusCalcRootView.swift

@@ -998,7 +998,7 @@ extension Bolus {
             case (false, false, true):
                 return Text("Log FPUs")
             default:
-                return Text("Continue without logging treatments")
+                return Text("Continue without treatment")
             }
         }
 

+ 1 - 1
FreeAPS/Sources/Modules/Home/View/HomeRootView.swift

@@ -788,7 +788,7 @@ extension Home {
                     }()
 
                     NavigationStack { mainView() }
-                        .tabItem { Label("Home", systemImage: "house") }
+                        .tabItem { Label("Main", systemImage: "chart.xyaxis.line") }
                         .badge(carbsRequiredBadge)
 
                     NavigationStack { DataTable.RootView(resolver: resolver) }