Explorar el Código

Show auth status for Health

Ivan Valkou hace 4 años
padre
commit
16a6a053bb
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      FreeAPS/Sources/Modules/HealthKit/HealthKitStateModel.swift

+ 2 - 0
FreeAPS/Sources/Modules/HealthKit/HealthKitStateModel.swift

@@ -11,6 +11,8 @@ extension AppleHealthKit {
         override func subscribe() {
             useAppleHealth = settingsManager.settings.useAppleHealth
 
+            needShowInformationTextForSetPermissions = healthKitManager.areAllowAllPermissions
+
             subscribeSetting(\.useAppleHealth, on: $useAppleHealth) {
                 useAppleHealth = $0
             } didSet: { [weak self] value in