Browse Source

reduce title bar font size

cyberta 4 years ago
parent
commit
b3860cd19c

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

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

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

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