Explorar o código

keep blurry navigationbar background color on iOS13+ in chat list

cyberta %!s(int64=3) %!d(string=hai) anos
pai
achega
bea048aced
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      deltachat-ios/Chat/ChatViewController.swift

+ 5 - 0
deltachat-ios/Chat/ChatViewController.swift

@@ -297,6 +297,11 @@ class ChatViewController: UITableViewController {
         tableView.keyboardDismissMode = .interactive
         tableView.contentInsetAdjustmentBehavior = .never
         navigationController?.setNavigationBarHidden(false, animated: false)
+
+        if #available(iOS 13.0, *) {
+            navigationController?.navigationBar.scrollEdgeAppearance = navigationController?.navigationBar.standardAppearance
+        }
+
         navigationItem.backButtonTitle = String.localized("chat")
         definesPresentationContext = true