浏览代码

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

cyberta 5 年之前
父节点
当前提交
c38e6cfda0
共有 1 个文件被更改,包括 2 次插入0 次删除
  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() {
     override func viewDidLoad() {
         super.viewDidLoad()
         super.viewDidLoad()
         title = String.localized("menu_settings")
         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
         documentInteractionController.delegate = self as? UIDocumentInteractionControllerDelegate
     }
     }