IOS-1576 guidelines IOS-1576
authorbuff <andreas@pep-project.org>
Thu, 04 Jul 2019 13:18:25 +0200
branchIOS-1576
changeset 93057f084fcab913
parent 9304 5a2f4d2cbf78
child 9316 986647de550a
child 9401 7dc085c54dff
IOS-1576 guidelines
pEpForiOS/UI/Settings/ViewModel/SettingsSectionViewModel.swift
pEpForiOS/UI/Settings/ViewModel/SettingsViewModel.swift
     1.1 --- a/pEpForiOS/UI/Settings/ViewModel/SettingsSectionViewModel.swift	Thu Jul 04 11:45:19 2019 +0200
     1.2 +++ b/pEpForiOS/UI/Settings/ViewModel/SettingsSectionViewModel.swift	Thu Jul 04 13:18:25 2019 +0200
     1.3 @@ -104,6 +104,7 @@
     1.4  }
     1.5  
     1.6  // MARK: - Private
     1.7 +
     1.8  extension SettingsSectionViewModel {
     1.9      private func isInDeviceGroup() -> Bool {
    1.10          guard let keySyncDeviceGroupService = keySyncDeviceGroupService else {
     2.1 --- a/pEpForiOS/UI/Settings/ViewModel/SettingsViewModel.swift	Thu Jul 04 11:45:19 2019 +0200
     2.2 +++ b/pEpForiOS/UI/Settings/ViewModel/SettingsViewModel.swift	Thu Jul 04 13:18:25 2019 +0200
     2.3 @@ -25,7 +25,9 @@
     2.4          sections.append(SettingsSectionViewModel(type: .accounts))
     2.5          sections.append(SettingsSectionViewModel(type: .globalSettings))
     2.6          sections.append(SettingsSectionViewModel(type: .pgpCompatibilitySettings))
     2.7 -        sections.append(SettingsSectionViewModel(type: .keySync, messageModelService: messageModelService, keySyncDeviceGroupService: keySyncDeviceGroupService))
     2.8 +        sections.append(SettingsSectionViewModel(type: .keySync,
     2.9 +                                                 messageModelService: messageModelService,
    2.10 +                                                 keySyncDeviceGroupService: keySyncDeviceGroupService))
    2.11      }
    2.12  
    2.13      func delete(section: Int, cell: Int) {