IOS-1716 cosmetic (auto-indent) IOS-1716
authorbuff <andreas@pep-project.org>
Tue, 13 Aug 2019 14:40:03 +0200
branchIOS-1716
changeset 96679ff0ad8d23d2
parent 9666 12ee11079879
child 9668 8605c2cf484b
IOS-1716 cosmetic (auto-indent)
pEpForiOS/UI/Settings/SettingsTableViewController.swift
     1.1 --- a/pEpForiOS/UI/Settings/SettingsTableViewController.swift	Tue Aug 13 14:37:48 2019 +0200
     1.2 +++ b/pEpForiOS/UI/Settings/SettingsTableViewController.swift	Tue Aug 13 14:40:03 2019 +0200
     1.3 @@ -123,11 +123,11 @@
     1.4          if indexPath.section == 0 {
     1.5              let deleteAction = SwipeAction(style: .destructive, title: NSLocalizedString("Delete", comment: "Account delete")) {
     1.6                  [weak self] action, indexPath in
     1.7 -                    guard let me = self else {
     1.8 -                        Log.shared.lostMySelf()
     1.9 -                        return
    1.10 -                    }
    1.11 -                    me.showAlertBeforeDelete(indexPath)
    1.12 +                guard let me = self else {
    1.13 +                    Log.shared.lostMySelf()
    1.14 +                    return
    1.15 +                }
    1.16 +                me.showAlertBeforeDelete(indexPath)
    1.17              }
    1.18              return (orientation == .right ? [deleteAction] : nil)
    1.19          }
    1.20 @@ -208,10 +208,10 @@
    1.21              if let path = ipath ,
    1.22                  let vm = viewModel[path.section][path.row] as? SettingsCellViewModel,
    1.23                  let acc = vm.account  {
    1.24 -                    let vm = AccountSettingsViewModel(
    1.25 -                        account: acc,
    1.26 -                        messageModelService: appConfig.messageModelService)
    1.27 -                    destination.viewModel = vm
    1.28 +                let vm = AccountSettingsViewModel(
    1.29 +                    account: acc,
    1.30 +                    messageModelService: appConfig.messageModelService)
    1.31 +                destination.viewModel = vm
    1.32              }
    1.33          case .noAccounts,
    1.34               .segueAddNewAccount,
    1.35 @@ -324,7 +324,7 @@
    1.36  // MARK: - Extra Keys
    1.37  
    1.38  extension SettingsTableViewController {
    1.39 -    
    1.40 +
    1.41      /// Adds easter egg gesture to [en|dis]able the editability of extra keys
    1.42      private func addExtraKeysEditabilityToggleGesture() {
    1.43          let gestureRecogniser =