From bdcde235960b0bb0db6a961590f8c28f9d21c9cf Mon Sep 17 00:00:00 2001 From: James Sangalli Date: Tue, 10 Apr 2018 14:03:10 +0800 Subject: [PATCH] onboarding no longer asks for back up --- Trust/Wallet/Coordinators/WalletCoordinator.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Trust/Wallet/Coordinators/WalletCoordinator.swift b/Trust/Wallet/Coordinators/WalletCoordinator.swift index f4695585e..6026bbf49 100644 --- a/Trust/Wallet/Coordinators/WalletCoordinator.swift +++ b/Trust/Wallet/Coordinators/WalletCoordinator.swift @@ -56,7 +56,8 @@ class WalletCoordinator: Coordinator { keystore.createAccount(with: password) { result in switch result { case .success(let account): - self.pushBackup(for: account) + let wallet = Wallet(type: WalletType.real(account)) + self.delegate?.didFinish(with: wallet, in: self) case .failure(let error): self.navigationController.displayError(error: error) }