Quellcode durchsuchen

gallery changed modal presentation style to fullscreen

nayooti vor 5 Jahren
Ursprung
Commit
ab159d74b4
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      deltachat-ios/Coordinator/AppCoordinator.swift

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

@@ -543,7 +543,7 @@ class ChatViewCoordinator: NSObject, Coordinator {
     func showMediaGallery(currentIndex: Int, mediaUrls urls: [URL]) {
         let betterPreviewController = PreviewController(currentIndex: currentIndex, urls: urls)
         let nav = UINavigationController(rootViewController: betterPreviewController)
-
+        nav.modalPresentationStyle = .fullScreen
         navigationController.present(nav, animated: true)
     }
 }