|
@@ -414,7 +414,7 @@ class GroupChatDetailCoordinator: Coordinator {
|
|
}
|
|
}
|
|
previewController = PreviewController(currentIndex: 0, urls: mediaUrls)
|
|
previewController = PreviewController(currentIndex: 0, urls: mediaUrls)
|
|
if let previewController = previewController {
|
|
if let previewController = previewController {
|
|
- navigationController.pushViewController(previewController.qlController, animated: true)
|
|
|
|
|
|
+ navigationController.pushViewController(previewController, animated: true)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -525,7 +525,7 @@ class ChatViewCoordinator: NSObject, Coordinator {
|
|
}
|
|
}
|
|
|
|
|
|
func showMediaGallery(currentIndex: Int, mediaUrls urls: [URL]) {
|
|
func showMediaGallery(currentIndex: Int, mediaUrls urls: [URL]) {
|
|
- let betterPreviewController = BetterPreviewController(currentIndex: currentIndex, urls: urls)
|
|
|
|
|
|
+ let betterPreviewController = PreviewController(currentIndex: currentIndex, urls: urls)
|
|
let nav = UINavigationController(rootViewController: betterPreviewController)
|
|
let nav = UINavigationController(rootViewController: betterPreviewController)
|
|
|
|
|
|
navigationController.present(nav, animated: true)
|
|
navigationController.present(nav, animated: true)
|
|
@@ -677,7 +677,7 @@ class ContactDetailCoordinator: Coordinator, ContactDetailCoordinatorProtocol {
|
|
}
|
|
}
|
|
previewController = PreviewController(currentIndex: 0, urls: mediaUrls)
|
|
previewController = PreviewController(currentIndex: 0, urls: mediaUrls)
|
|
if let previewController = previewController {
|
|
if let previewController = previewController {
|
|
- navigationController.pushViewController(previewController.qlController, animated: true)
|
|
|
|
|
|
+ navigationController.pushViewController(previewController, animated: true)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|