diff --git a/public/views/paperWallet.html b/public/views/paperWallet.html index 0803ab3bb..f4b954f98 100644 --- a/public/views/paperWallet.html +++ b/public/views/paperWallet.html @@ -17,13 +17,13 @@ Scanning wallet funds... -
-
-
- - {{paperWallet.error|translate}} -
-
+
+ + {{paperWallet.error|translate}} +
+
+
+
@@ -33,12 +33,21 @@ Passphrase (if you have one): -

{{paperWallet.message}}

+

+ Decrypting a paper wallet could take around 5 minutes on this device. please be patient and keep the app open. +

+
-
-
+
+

Funds founds

@@ -52,20 +61,11 @@ ng-click="paperWallet.transaction()" translate>sweep wallet -
+
Funds will be transfered to
{{index.alias || index.walletName}}
-
- -
diff --git a/src/js/controllers/paperWallet.js b/src/js/controllers/paperWallet.js index 2b5b83ab9..6caeb671f 100644 --- a/src/js/controllers/paperWallet.js +++ b/src/js/controllers/paperWallet.js @@ -1,9 +1,9 @@ angular.module('copayApp.controllers').controller('paperWalletController', - function($scope, $http, $timeout, profileService, go, addressService) { + function($scope, $http, $timeout, profileService, go, addressService, isCordova) { self = this; var fc = profileService.focusedClient; var rawTx; - if (isCordova) self.message = "Decrypting a paper wallet could take around 5 minutes on this device. please be patient and keep the app open." + self.isCordova = !isCordova; self.onQrCodeScanned = function(data) { $scope.privateKey = data; @@ -82,4 +82,4 @@ angular.module('copayApp.controllers').controller('paperWalletController', rawtx: rawTx }); }; - }); \ No newline at end of file + });