Просмотр исходного кода

padding, change color of percentage slider to match tabbar colours

polscm32 2 лет назад
Родитель
Сommit
2504401007

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

@@ -744,9 +744,9 @@ extension Home {
                     timeInterval.padding(.top, 15).padding(.bottom, 20)
 
                     if let progress = state.bolusProgress {
-                        bolusView(geo, progress).padding(.bottom, 25)
+                        bolusView(geo, progress).padding(.bottom, 30)
                     } else {
-                        profileView(geo).padding(.bottom, 25)
+                        profileView(geo).padding(.bottom, 30)
                     }
                 }
 

+ 1 - 1
FreeAPS/Sources/Modules/OverrideProfilesConfig/View/OverrideProfilesRootView.swift

@@ -127,7 +127,7 @@ extension OverrideProfilesConfig {
                         .foregroundColor(
                             state
                                 .percentageProfiles >= 130 ? .red :
-                                (isEditing ? .orange : Color.blue)
+                                (isEditing ? .orange : Color.tabBar)
                         )
                         .font(.largeTitle)
                     Slider(