diff --git a/p2p_wallet/Common/Services/GlobalAppState.swift b/p2p_wallet/Common/Services/GlobalAppState.swift index 87d9a6751..4e1ba96f9 100644 --- a/p2p_wallet/Common/Services/GlobalAppState.swift +++ b/p2p_wallet/Common/Services/GlobalAppState.swift @@ -75,7 +75,7 @@ class GlobalAppState: ObservableObject { @Published var bridgeEndpoint: String = (Environment.current == .release) ? String.secretConfig("BRIDGE_PROD")! : - String.secretConfig("BRIDGE_DEV")! + String.secretConfig("BRIDGE_PROD")! @Published var tokenEndpoint: String = (Environment.current == .release) ? String.secretConfig("TOKEN_SERVICE_PROD")! : diff --git a/p2p_wallet/Scenes/Main/Crypto/Container/CryptoCoordinator.swift b/p2p_wallet/Scenes/Main/Crypto/Container/CryptoCoordinator.swift index 4eda5fbb2..df93e811f 100644 --- a/p2p_wallet/Scenes/Main/Crypto/Container/CryptoCoordinator.swift +++ b/p2p_wallet/Scenes/Main/Crypto/Container/CryptoCoordinator.swift @@ -154,7 +154,7 @@ final class CryptoCoordinator: Coordinator { .map { _ in () } .eraseToAnyPublisher() case let .claim(account, userAction): - if let userAction, userAction.status == .processing { + if let userAction, userAction.status != .ready { return coordinate(to: TransactionDetailCoordinator( viewModel: .init(userAction: userAction), presentingViewController: navigationController @@ -169,7 +169,7 @@ final class CryptoCoordinator: Coordinator { ) ) .handleEvents(receiveOutput: { [weak self] result in - guard let self = self else { return } + guard let self else { return } switch result { case let .claiming(pendingTrx): self.coordinate(