Procházet zdrojové kódy

ensure the title text size is always the same

cyberta před 4 roky
rodič
revize
3e2aae0463

+ 1 - 1
deltachat-ios/Controller/ChatListController.swift

@@ -21,7 +21,7 @@ class ChatListController: UITableViewController {
         let navTapGesture = UITapGestureRecognizer(target: self, action: #selector(onNavigationTitleTapped))
         view.addGestureRecognizer(navTapGesture)
         view.isUserInteractionEnabled = true
-
+        view.font = UIFont.systemFont(ofSize: 20, weight: .semibold)
         return view
     }()
 

+ 1 - 0
deltachat-ios/Coordinator/AppCoordinator.swift

@@ -129,6 +129,7 @@ class AppCoordinator {
         } else {
             presentWelcomeController()
         }
+        UINavigationBar.appearance().titleTextAttributes = [NSAttributedString.Key.font: UIFont.systemFont(ofSize: 20, weight: .semibold)]
     }
 
     func presentWelcomeController() {