From be2fd9a6326dc4e5e8aa3b308172cc05fcd4aba6 Mon Sep 17 00:00:00 2001 From: MrQKyber <60604928+MrQKyber@users.noreply.github.com> Date: Thu, 1 Oct 2020 18:12:27 +0700 Subject: [PATCH] Fix crash cause by having not back up wallet (#184) --- .../Coordinators/AppCoordinator/KNAppCoordinator.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KyberNetwork/KyberNetwork/Coordinators/AppCoordinator/KNAppCoordinator.swift b/KyberNetwork/KyberNetwork/Coordinators/AppCoordinator/KNAppCoordinator.swift index 0b93bdb36b..8f8362fb0b 100644 --- a/KyberNetwork/KyberNetwork/Coordinators/AppCoordinator/KNAppCoordinator.swift +++ b/KyberNetwork/KyberNetwork/Coordinators/AppCoordinator/KNAppCoordinator.swift @@ -123,13 +123,13 @@ class KNAppCoordinator: NSObject, Coordinator { secondButtonTitle: "backup".toBeLocalised(), firstButtonTitle: "Later".toBeLocalised(), secondButtonAction: { + self.tabbarController = nil self.landingPageCoordinator.updateNewWallet(wallet: currentWallet) self.addCoordinator(self.landingPageCoordinator) self.landingPageCoordinator.start() }, firstButtonAction: nil) self.navigationController.present(alert, animated: true, completion: { - self.tabbarController = nil }) return false } else {