File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ private extension PointOfSaleDashboardView {
204204 }
205205
206206 var documentationView : some View {
207- SafariView ( url: WooConstants . URLs. pointOfSaleDocumentation. asURL ( ) )
207+ SafariView ( url: POSConstants . URLs. pointOfSaleDocumentation. asURL ( ) )
208208 }
209209
210210 func paymentsOnboardingView( from onboardingViewModel: CardPresentPaymentsOnboardingViewModel ) -> some View {
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ struct PointOfSaleSettingsHelpDetailView: View {
8282 . posFullScreenCover ( isPresented: $showDocumentation) {
8383 // TODO: Remove copy on PointOfSaleDashboardView.documentationView
8484 // WOOMOB-1168
85- SafariView ( url: WooConstants . URLs. pointOfSaleDocumentation. asURL ( ) )
85+ SafariView ( url: POSConstants . URLs. pointOfSaleDocumentation. asURL ( ) )
8686
8787 }
8888 . posFullScreenCover ( isPresented: $showSupport) {
Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ public enum POSConstants {
88 Self . trustedURL ( self . rawValue)
99 }
1010
11+ /// URL for Point of Sale documentation
12+ ///
13+ case pointOfSaleDocumentation = " https://woocommerce.com/document/woo-mobile-app-point-of-sale-mode/ "
14+
1115 /// URL for Point of Sale's barcode scanner documentation
1216 ///
1317 case pointOfSaleBarcodeScannerDocumentation = " https://woocommerce.com/document/barcode-and-qr-code-scanner/ "
Original file line number Diff line number Diff line change @@ -250,10 +250,6 @@ extension WooConstants {
250250 ///
251251 case inPersonPaymentsLearnMoreStripe = " https://woocommerce.com/document/stripe/accept-in-person-payments-with-stripe/ "
252252
253- /// URL for Point of Sale documentation
254- ///
255- case pointOfSaleDocumentation = " https://woocommerce.com/document/woo-mobile-app-point-of-sale-mode/ "
256-
257253 /// Temporary redirect URL for authenticated web view when authenticating WPCom automatically
258254 ///
259255 case wpcomTempRedirectURL = " https://wordpress.com/mobile-redirect "
You can’t perform that action at this time.
0 commit comments