diff --git a/ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift b/ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift index 06fb6bf906c7..a1928b1d1e65 100644 --- a/ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift +++ b/ios/brave-ios/Sources/BraveWallet/Crypto/Stores/CryptoStore.swift @@ -76,7 +76,8 @@ public class CryptoStore: ObservableObject, WalletObserverStore { @Published var isPresentingPendingRequest: Bool = false { didSet { if !isPresentingPendingRequest { - confirmationStore = nil + closeConfirmationStore() + closeSignMessageRequestStore() } } } diff --git a/ios/brave-ios/Sources/BraveWallet/Panels/RequestContainerView.swift b/ios/brave-ios/Sources/BraveWallet/Panels/RequestContainerView.swift index 278155261a1a..92019ba063e7 100644 --- a/ios/brave-ios/Sources/BraveWallet/Panels/RequestContainerView.swift +++ b/ios/brave-ios/Sources/BraveWallet/Panels/RequestContainerView.swift @@ -94,11 +94,5 @@ struct RequestContainerView: View { } } .navigationViewStyle(.stack) - .onDisappear { - // `onDisappear` on individual views will trigger for navigation pushes. - // Close stores when navigation covers manual dismiss & onDismiss() cases. - cryptoStore.closeConfirmationStore() - cryptoStore.closeSignMessageRequestStore() - } } }