Prechádzať zdrojové kódy

Show auth status for Health

Ivan Valkou 4 rokov pred
rodič
commit
e6f65cade2

+ 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