Browse Source

show always 'Settings' instead of 'Back' in settings subviews

cyberta 5 years ago
parent
commit
c38e6cfda0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      deltachat-ios/Controller/SettingsController.swift

+ 2 - 0
deltachat-ios/Controller/SettingsController.swift

@@ -28,6 +28,8 @@ internal final class SettingsViewController: QuickTableViewController {
     override func viewDidLoad() {
         super.viewDidLoad()
         title = String.localized("menu_settings")
+        let backButton = UIBarButtonItem(title: String.localized("menu_settings"), style: .plain, target: nil, action: nil)
+        navigationItem.backBarButtonItem = backButton
         documentInteractionController.delegate = self as? UIDocumentInteractionControllerDelegate
     }