diff --git a/public/views/backup.html b/public/views/backup.html index c5039c509..6c8b462d4 100644 --- a/public/views/backup.html +++ b/public/views/backup.html @@ -1,55 +1,55 @@
-
+
+
+
+ + This wallet have its private key encrypted. Exporting a backup will keep the private key encrypted on the backup. -
- - This wallet have its private key encrypted. Exporting a backup will keep the private key encrypted on the backup. +
-
+ +
+ +
- -
- -
+ +
+ +
- -
- -
- - - -
-

Backup options

- - + + ng-show="backup.isSafari && !backup.isCordova"> + View backup +
+

Backup options

+ + +
- - +

Copy backup in a safe place

- - +
@@ -58,10 +58,9 @@
-
- * You can safely install your backup on other device and - use your wallet from many devices at the same time. -
- -
+
+ * You can safely install your backup on other device and + use your wallet from many devices at the same time. +
+
diff --git a/src/js/controllers/backup.js b/src/js/controllers/backup.js index e2869fd1f..5b362f35a 100644 --- a/src/js/controllers/backup.js +++ b/src/js/controllers/backup.js @@ -11,13 +11,6 @@ angular.module('copayApp.controllers').controller('backupController', var fc = profileService.focusedClient; this.isEncrypted = fc.isPrivKeyEncrypted(); - this.copyText = function(text) { - if (isCordova) { - window.cordova.plugins.clipboard.copy(text); - window.plugins.toast.showShortCenter('Copied to clipboard'); - } - }; - this.downloadWalletBackup = function() { backupService.walletDownload(this.password, function() { $rootScope.$emit('Local/BackupDone'); @@ -32,7 +25,6 @@ angular.module('copayApp.controllers').controller('backupController', this.viewWalletBackup = function() { var self = this; - this.loading = true; $timeout(function() { self.backupWalletPlainText = self.getBackup(); $rootScope.$emit('Local/BackupDone');