diff --git a/xdrip/View Controllers/SettingsNavigationController/SettingsViewController/SettingsViewModels/SettingsViewContactImageSettingsViewModel.swift b/xdrip/View Controllers/SettingsNavigationController/SettingsViewController/SettingsViewModels/SettingsViewContactImageSettingsViewModel.swift index 5d899487e..b69a23573 100644 --- a/xdrip/View Controllers/SettingsNavigationController/SettingsViewController/SettingsViewModels/SettingsViewContactImageSettingsViewModel.swift +++ b/xdrip/View Controllers/SettingsNavigationController/SettingsViewController/SettingsViewModels/SettingsViewContactImageSettingsViewModel.swift @@ -78,7 +78,7 @@ class SettingsViewContactImageSettingsViewModel: SettingsViewModelProtocol { case .notDetermined: return .none - case .restricted, .limited: + case .restricted: // by clicking row, show what it means to be restricted, according to Apple doc return .disclosureIndicator @@ -153,10 +153,6 @@ class SettingsViewContactImageSettingsViewModel: SettingsViewModelProtocol { trace("in SettingsViewContactImageSettingsViewModel, CNContactStore access restricted, according to apple doc 'possibly due to active restrictions such as parental controls being in place'", log: self.log, category: ConstantsLog.categoryRootView, type: .error) UserDefaults.standard.enableContactImage = false - case .limited: - trace("in SettingsViewContactImageSettingsViewModel, CNContactStore access limited, ask the user to give full access", log: self.log, category: ConstantsLog.categoryRootView, type: .error) - UserDefaults.standard.enableContactImage = false - case .denied: trace("in SettingsViewContactImageSettingsViewModel, CNContactStore access denied by user", log: self.log, category: ConstantsLog.categoryRootView, type: .error) UserDefaults.standard.enableContactImage = false @@ -229,10 +225,6 @@ class SettingsViewContactImageSettingsViewModel: SettingsViewModelProtocol { // by clicking row, show what it means to be restricted, according to Apple doc return SettingsSelectedRowAction.showInfoText(title: Texts_Common.warning, message: Texts_SettingsView.infoContactsAccessRestricted) - case .limited: - // by clicking row, show what it means to be limited, according to Apple doc - return SettingsSelectedRowAction.showInfoText(title: Texts_Common.warning, message: Texts_SettingsView.infoContactsAccessLimited) - @unknown default: trace("in SettingsViewContactImageSettingsViewModel, unknown case returned when authorizing CNContactStore ", log: self.log, category: ConstantsLog.categoryRootView, type: .error)