added backup via email
This commit is contained in:
parent
76df93ab10
commit
b79caed7fc
1 changed files with 1 additions and 2 deletions
|
|
@ -40,11 +40,10 @@ angular.module('copay.backup').controller('BackupController',
|
|||
} else {
|
||||
if (email && email !== '') {
|
||||
var body = _getEncryptedWallet();
|
||||
console.log(body);
|
||||
var subject = 'Copay Backup';
|
||||
var href = 'mailto:' + email + '?'
|
||||
+ 'subject=' + subject + '&'
|
||||
+ 'body=' + 'body'; // TODO: Uncomment this when get the real encrypted wallet.
|
||||
+ 'body=' + body;
|
||||
|
||||
var newWin = $window.open(href, '_blank', 'scrollbars=yes,resizable=yes,width=10,height=10');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue