Merge pull request #260 from James-Sangalli/dont-ever-prompt-backup-account-that-is-imported

The wallet account imported should be marked as already-backed up, and not to remind user to backup
pull/263/head
James Sangalli 7 years ago committed by GitHub
commit cc5ce6b47c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      Trust/Wallet/Coordinators/WalletCoordinator.swift

@ -123,6 +123,7 @@ extension WalletCoordinator: WelcomeViewControllerDelegate {
extension WalletCoordinator: ImportWalletViewControllerDelegate {
func didImportAccount(account: Wallet, in viewController: ImportWalletViewController) {
Config().addToWalletAddressesAlreadyPromptedForBackup(address: account.address.eip55String)
didCreateAccount(account: account)
}
}

Loading…
Cancel
Save