浏览代码

reduce title bar font size

cyberta 4 年之前
父节点
当前提交
b3860cd19c
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      deltachat-ios/Controller/ChatListController.swift
  2. 1 1
      deltachat-ios/Coordinator/AppCoordinator.swift

+ 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)
+        view.font = UIFont.systemFont(ofSize: 18, weight: .semibold)
         return view
     }()
 

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

@@ -129,7 +129,7 @@ class AppCoordinator {
         } else {
             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() {