set backupflag on import

This commit is contained in:
Matias Alejo Garcia 2015-05-04 15:47:04 -03:00
commit 00475abbab

View file

@ -638,6 +638,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
});
$rootScope.$on('Local/WalletImported', function(event, walletId) {
self.needsBackup = false;
storageService.setBackupFlag(walletId, function() {
storageService.clearLastAddress(walletId, function(err) {
self.startScan(walletId);