Browse Source

Use systemGray and gradient

(cherry picked from commit 3a09cb4343802b65508a3fb1ed7e07135b909889)
Jon Mårtensson 3 years ago
parent
commit
902b782235
1 changed files with 1 additions and 2 deletions
  1. 1 2
      FreeAPS/Sources/Modules/Bolus/View/BolusRootView.swift

+ 1 - 2
FreeAPS/Sources/Modules/Bolus/View/BolusRootView.swift

@@ -222,8 +222,7 @@ extension Bolus {
                 }.padding(.bottom, 10)
             }
             .background(
-                RoundedRectangle(cornerRadius: 8, style: .continuous)
-                    .fill(Color(colorScheme == .dark ? UIColor.systemGray4 : UIColor.systemGray4))
+                RoundedRectangle(cornerRadius: 8, style: .continuous).fill(Color(.systemGray).gradient)
             )
         }
     }