Skip to content

Commit 3608e36

Browse files
committed
present documentation full screen
1 parent 4ba6abd commit 3608e36

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

WooCommerce/Classes/POS/Presentation/Settings/PointOfSaleSettingsHardwareDetailView.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ struct PointOfSaleSettingsHardwareDetailView: View {
4040
.posModal(isPresented: $showBarcodeScanningSetupModal) {
4141
PointOfSaleBarcodeScannerSetup(isPresented: $showBarcodeScanningSetupModal)
4242
}
43-
.posSheet(isPresented: $showBarcodeScanningDocumentationModal) {
43+
.posFullScreenCover(isPresented: $showBarcodeScanningDocumentationModal) {
4444
SafariView(url: WooConstants.URLs.pointOfSaleDocumentation.asURL())
4545
}
4646
}
@@ -107,10 +107,11 @@ struct PointOfSaleSettingsHardwareDetailView: View {
107107
}
108108
}
109109
.navigationTitle(Localization.cardReadersTitle)
110-
.posSheet(isPresented: $showCardReaderDocumentationModal) {
110+
.posFullScreenCover(isPresented: $showCardReaderDocumentationModal) {
111111
SafariView(url: WooConstants.URLs.inPersonPaymentsLearnMoreWCPay.asURL())
112112
}
113113
.task { @MainActor in
114+
// TODO: WOOMOB-1172
114115
let action = AppSettingsAction.loadCardReader { reader in
115116
switch reader {
116117
case let .success(foundReader):

0 commit comments

Comments
 (0)