Merge pull request #3544 from cmgustavo/bug/backup-flag02
Set backup flag after export a wallet
This commit is contained in:
commit
13ab87b20f
1 changed files with 2 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ angular.module('copayApp.controllers').controller('backupController',
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$rootScope.$emit('Local/BackupDone');
|
||||||
notification.success(gettext('Success'), gettext('Encrypted export file saved'));
|
notification.success(gettext('Success'), gettext('Encrypted export file saved'));
|
||||||
go.walletHome();
|
go.walletHome();
|
||||||
});
|
});
|
||||||
|
|
@ -96,6 +97,7 @@ angular.module('copayApp.controllers').controller('backupController',
|
||||||
self.error = true;
|
self.error = true;
|
||||||
} else {
|
} else {
|
||||||
self.error = false;
|
self.error = false;
|
||||||
|
$rootScope.$emit('Local/BackupDone');
|
||||||
}
|
}
|
||||||
return cb(ew);
|
return cb(ew);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue