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

remove disabling the picker as it is not necessary with this new position

polscm32 2 лет назад
Родитель
Сommit
b6fc562c7c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      FreeAPS/Sources/Modules/Home/View/HomeRootView.swift

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

@@ -490,8 +490,8 @@ extension Home {
                 }
                 .pickerStyle(.segmented)
                 .background(Color.clear)
+                .shadow(radius: 3)
                 .frame(width: UIScreen.main.bounds.width / 1.5, height: 40, alignment: .center)
-                .disabled(state.bolusProgress != nil)
             }
             .padding(.vertical, 1)
         }