Add strings to translate and minor ux details

This commit is contained in:
Gustavo Maximiliano Cortez 2015-10-02 15:11:35 -03:00
commit 07b6a2d4d5
2 changed files with 32 additions and 31 deletions

View file

@ -1,5 +1,5 @@
angular.module('copayApp.controllers').controller('paperWalletController',
function($scope, $http, $timeout, $rootScope, profileService, go, addressService, isCordova, gettext) {
function($scope, $http, $timeout, profileService, go, addressService) {
self = this;
var fc = profileService.focusedClient;
var rawTx;
@ -12,7 +12,6 @@ angular.module('copayApp.controllers').controller('paperWalletController',
self.createTx = function(privateKey, passphrase) {
self.error = null;
self.scanning = true;
$timeout(function() {
self.getRawTx(privateKey, passphrase, function(err, rawtx, utxos) {
self.scanning = false;
@ -27,7 +26,6 @@ angular.module('copayApp.controllers').controller('paperWalletController',
$timeout(function() {
$scope.$apply();
}, 1);
});
}, 100);
};