Quellcode durchsuchen

Revert

(cherry picked from commit 3f73bbc951092f54a3ab433ab94df327b2e1cd4e)
Jon Mårtensson vor 3 Jahren
Ursprung
Commit
f6fb807af8
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 3 1
      FreeAPS/Sources/Modules/Bolus/View/BolusRootView.swift

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

@@ -222,7 +222,9 @@ extension Bolus {
                 }.padding(.bottom, 10)
                 }.padding(.bottom, 10)
             }
             }
             .background(
             .background(
-                RoundedRectangle(cornerRadius: 8, style: .continuous).fill(Color(.systemGray).gradient)
+                RoundedRectangle(cornerRadius: 8, style: .continuous)
+                    .fill(Color(colorScheme == .dark ? UIColor.systemGray4 : UIColor.systemGray4))
+                // .fill(Color(.systemGray).gradient)  // A more prominent pop-up, but harder to read
             )
             )
         }
         }
     }
     }