From 43d53e4b602220b03e70958083c854d68039882b Mon Sep 17 00:00:00 2001 From: Daniel Bernal Date: Thu, 11 Jan 2024 23:29:06 +0100 Subject: [PATCH] Hide the Back button when a transaction is in progress --- DuckDuckGo/PrivacyPro/Views/SubscriptionFlowView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DuckDuckGo/PrivacyPro/Views/SubscriptionFlowView.swift b/DuckDuckGo/PrivacyPro/Views/SubscriptionFlowView.swift index f8d2507f26..4060d53e57 100644 --- a/DuckDuckGo/PrivacyPro/Views/SubscriptionFlowView.swift +++ b/DuckDuckGo/PrivacyPro/Views/SubscriptionFlowView.swift @@ -48,7 +48,7 @@ struct SubscriptionFlowView: View { Task { await viewModel.initializeViewData() } }) .navigationTitle(viewModel.viewTitle) - + .navigationBarBackButtonHidden(viewModel.transactionInProgress) // Active subscription found Alert .alert(isPresented: $viewModel.hasActiveSubscription) {