Parcourir la source

make all-media header translucent

B. Petersen il y a 2 ans
Parent
commit
4e1943ac7c
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      deltachat-ios/Controller/AllMediaViewController.swift

+ 4 - 0
deltachat-ios/Controller/AllMediaViewController.swift

@@ -38,6 +38,10 @@ class AllMediaViewController: UIPageViewController {
             animated: true,
             completion: nil
         )
+
+        if #available(iOS 13, *) {
+            self.navigationController?.navigationBar.scrollEdgeAppearance = self.navigationController?.navigationBar.standardAppearance
+        }
     }
 
     override func viewWillAppear(_ animated: Bool) {