From 6d61e6c9ae454671e95245ca1d6ac82f52a4f1b4 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Thu, 22 Feb 2024 15:26:55 +0800 Subject: [PATCH] Make browser full screen for ipad --- .../Sources/App/Views/WebReader/WebReaderContainer.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apple/OmnivoreKit/Sources/App/Views/WebReader/WebReaderContainer.swift b/apple/OmnivoreKit/Sources/App/Views/WebReader/WebReaderContainer.swift index b922c8298..639bb7c90 100644 --- a/apple/OmnivoreKit/Sources/App/Views/WebReader/WebReaderContainer.swift +++ b/apple/OmnivoreKit/Sources/App/Views/WebReader/WebReaderContainer.swift @@ -432,7 +432,7 @@ struct WebReaderContainerView: View { }, label: { Text(LocalText.readerSave) }) } #if os(iOS) - .sheet(item: $safariWebLink) { + .fullScreenCover(item: $safariWebLink) { SafariView(url: $0.url) .ignoresSafeArea(.all, edges: .bottom) }