mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Fix the presentation of QuickLook when viewing logs on macOS. (#3556)
This commit is contained in:
@@ -25,11 +25,7 @@ private struct PreviewView: UIViewControllerRepresentable {
|
||||
previewController.dataSource = context.coordinator
|
||||
previewController.delegate = context.coordinator
|
||||
|
||||
if ProcessInfo.processInfo.isiOSAppOnMac {
|
||||
return previewController
|
||||
} else {
|
||||
return UINavigationController(rootViewController: previewController)
|
||||
}
|
||||
return UINavigationController(rootViewController: previewController)
|
||||
}
|
||||
|
||||
func updateUIViewController(_ uiViewController: UIViewController, context: Context) { }
|
||||
|
||||
Reference in New Issue
Block a user