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

Revert

(cherry picked from commit 3f73bbc951092f54a3ab433ab94df327b2e1cd4e)
Jon Mårtensson 2 лет назад
Родитель
Сommit
f6fb807af8
1 измененных файлов с 3 добавлено и 1 удалено
  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)
             }
             .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
             )
         }
     }