Просмотр исходного кода

gallery changed modal presentation style to fullscreen

nayooti 5 лет назад
Родитель
Сommit
ab159d74b4
1 измененных файлов с 1 добавлено и 1 удалено
  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)
     }
 }