소스 검색

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() {
         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
     }