Bladeren bron

adjust function names

Simon Laux 2 jaren geleden
bovenliggende
commit
dfb0336143
1 gewijzigde bestanden met toevoegingen van 7 en 7 verwijderingen
  1. 7 7
      deltachat-ios/Controller/Settings/SettingsViewController.swift

+ 7 - 7
deltachat-ios/Controller/Settings/SettingsViewController.swift

@@ -354,9 +354,9 @@ internal final class SettingsViewController: UITableViewController, ProgressAler
         tableView.deselectRow(at: indexPath, animated: false)
 
         switch cellTag {
-        case .profile: showEditSettingsController()
+        case .profile: showProfileSettingsController()
         case .showArchive: showArchivedCharts()
-        case .showEmails: showClassicMail()
+        case .showEmails: showEmail()
         case .blockedContacts: showBlockedContacts()
         case .autodel: showAutodelOptions()
         case .mediaQuality: showMediaQuality()
@@ -551,17 +551,17 @@ internal final class SettingsViewController: UITableViewController, ProgressAler
     }
 
     // MARK: - coordinator
-    private func showEditSettingsController() {
+    private func showProfileSettingsController() {
         let editController = ProfileSettingsViewController(dcAccounts: dcAccounts)
         navigationController?.pushViewController(editController, animated: true)
     }
 
-    private func showClassicMail() {
-        let settingsClassicViewController = ShowEmailViewController(dcContext: dcContext)
-        navigationController?.pushViewController(settingsClassicViewController, animated: true)
+    private func showEmail() {
+        let showEmailViewController = ShowEmailViewController(dcContext: dcContext)
+        navigationController?.pushViewController(showEmailViewController, animated: true)
     }
 
-    private func  showMediaQuality() {
+    private func showMediaQuality() {
         let mediaQualityController = MediaQualityViewController(dcContext: dcContext)
         navigationController?.pushViewController(mediaQualityController, animated: true)
     }