Преглед на файлове

ensure the title text size is always the same

cyberta преди 4 години
родител
ревизия
3e2aae0463
променени са 2 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 1 1
      deltachat-ios/Controller/ChatListController.swift
  2. 1 0
      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)
         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() {