In app browser is back to full screen

This commit is contained in:
Thomas Ricouard 2023-02-08 07:22:52 +01:00
parent 49791d2c86
commit 8d6a84a48e

View file

@ -50,7 +50,7 @@ private struct SafariRouter: ViewModifier {
return .handled
}
}
.sheet(item: $presentedURL, content: { url in
.fullScreenCover(item: $presentedURL, content: { url in
SafariView(url: url, inAppBrowserReaderView: preferences.inAppBrowserReaderView)
.edgesIgnoringSafeArea(.all)
})