Merge pull request #2161 from cmgustavo/bug/import-text-plain-backup
Fixes importing a plain text backup
This commit is contained in:
commit
abf552aa5c
9 changed files with 51 additions and 39 deletions
|
|
@ -72,12 +72,12 @@ BackupService.prototype.walletDownload = function(wallet) {
|
|||
};
|
||||
|
||||
BackupService.prototype.profileEncrypted = function(iden) {
|
||||
iden.setBackupDone();
|
||||
return iden.exportEncryptedWithWalletInfo(iden.password);
|
||||
}
|
||||
|
||||
BackupService.prototype.profileDownload = function(iden) {
|
||||
var ew = this.profileEncrypted(iden);
|
||||
iden.setBackupDone();
|
||||
var name = iden.fullName;
|
||||
var filename = name + '-profile.json';
|
||||
this._download(ew, name, filename)
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ angular.module('copayApp.services')
|
|||
pendingTxsService.update();
|
||||
$timeout(function() {
|
||||
$rootScope.$digest();
|
||||
})
|
||||
}, 1);
|
||||
};
|
||||
|
||||
root.notifyTxProposalEvent = function(w, e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue