commit
f8c5e392f0
8 changed files with 9 additions and 9 deletions
|
|
@ -27,7 +27,7 @@ angular.module('copayApp.controllers').controller('importLegacyController',
|
||||||
});
|
});
|
||||||
|
|
||||||
self.scan = function(ids) {
|
self.scan = function(ids) {
|
||||||
$log.debug('### Scaning: ' + ids)
|
$log.debug('### Scanning: ' + ids)
|
||||||
var i = 0;
|
var i = 0;
|
||||||
lodash.each(ids, function(id) {
|
lodash.each(ids, function(id) {
|
||||||
$rootScope.$emit('Local/WalletImported', id);
|
$rootScope.$emit('Local/WalletImported', id);
|
||||||
|
|
|
||||||
|
|
@ -452,7 +452,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
// This handles errors from BWS/index with are nomally
|
// This handles errors from BWS/index which normally
|
||||||
// trigger from async events (like updates).
|
// trigger from async events (like updates).
|
||||||
// Debounce function avoids multiple popups
|
// Debounce function avoids multiple popups
|
||||||
var _handleError = function(err) {
|
var _handleError = function(err) {
|
||||||
|
|
|
||||||
|
|
@ -264,7 +264,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
};
|
};
|
||||||
|
|
||||||
var GLIDERA_LOCK_TIME = 6 * 60 * 60;
|
var GLIDERA_LOCK_TIME = 6 * 60 * 60;
|
||||||
// isGlidera flag is a security mesure so glidera status is not
|
// isGlidera flag is a security measure so glidera status is not
|
||||||
// only determined by the tx.message
|
// only determined by the tx.message
|
||||||
this.openTxpModal = function(tx, copayers, isGlidera) {
|
this.openTxpModal = function(tx, copayers, isGlidera) {
|
||||||
$rootScope.modalOpened = true;
|
$rootScope.modalOpened = true;
|
||||||
|
|
@ -1110,7 +1110,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
|
|
||||||
if (!paypro.verified) {
|
if (!paypro.verified) {
|
||||||
self.resetForm();
|
self.resetForm();
|
||||||
$log.warn('Failed to verified payment protocol signatured');
|
$log.warn('Failed to verify payment protocol signatures');
|
||||||
self.error = gettext('Payment Protocol Invalid');
|
self.error = gettext('Payment Protocol Invalid');
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
$rootScope.$digest();
|
$rootScope.$digest();
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ angular.module('copayApp.services')
|
||||||
$log.debug("case 3");
|
$log.debug("case 3");
|
||||||
} else {
|
} else {
|
||||||
// We're screwed, blob constructor unsupported entirely
|
// We're screwed, blob constructor unsupported entirely
|
||||||
$log.debug("Errore");
|
$log.debug("Error");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return out;
|
return out;
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ angular.module('copayApp.services')
|
||||||
body = gettextCatalog.getString('Server response could not be verified');
|
body = gettextCatalog.getString('Server response could not be verified');
|
||||||
break;
|
break;
|
||||||
case 'WALLET_DOES_NOT_EXIST':
|
case 'WALLET_DOES_NOT_EXIST':
|
||||||
body = gettextCatalog.getString('Wallet not registed at the Wallet Service. Recreate it from "Create Wallet" using "Advanced Options" to set your seed');
|
body = gettextCatalog.getString('Wallet not registered at the wallet service. Recreate it from "Create Wallet" using "Advanced Options" to set your seed');
|
||||||
break;
|
break;
|
||||||
case 'INVALID_BACKUP':
|
case 'INVALID_BACKUP':
|
||||||
body = gettextCatalog.getString('Wallet seed is invalid');
|
body = gettextCatalog.getString('Wallet seed is invalid');
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ angular.module('copayApp.services').factory('go', function($window, $rootScope,
|
||||||
|
|
||||||
|
|
||||||
// Global go. This should be in a better place TODO
|
// Global go. This should be in a better place TODO
|
||||||
// We dont do a 'go' directive, to use the benefits of ng-touch with ng-click
|
// We don't do a 'go' directive, to use the benefits of ng-touch with ng-click
|
||||||
$rootScope.go = function(path) {
|
$rootScope.go = function(path) {
|
||||||
root.path(path);
|
root.path(path);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -692,7 +692,7 @@ angular.module('copayApp.services')
|
||||||
|
|
||||||
root._signWithTrezor = function(txp, cb) {
|
root._signWithTrezor = function(txp, cb) {
|
||||||
var fc = root.focusedClient;
|
var fc = root.focusedClient;
|
||||||
$log.info('Requesting Trezor to sign the transaction');
|
$log.info('Requesting Trezor to sign the transaction');
|
||||||
|
|
||||||
var xPubKeys = lodash.pluck(fc.credentials.publicKeyRing, 'xPubKey');
|
var xPubKeys = lodash.pluck(fc.credentials.publicKeyRing, 'xPubKey');
|
||||||
trezor.signTx(xPubKeys, txp, fc.credentials.account, function(err, result) {
|
trezor.signTx(xPubKeys, txp, fc.credentials.account, function(err, result) {
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ angular.module('copayApp.services')
|
||||||
|
|
||||||
var root = {};
|
var root = {};
|
||||||
|
|
||||||
// File storage is not supported for writting according to
|
// File storage is not supported for writing according to
|
||||||
// https://github.com/apache/cordova-plugin-file/#supported-platforms
|
// https://github.com/apache/cordova-plugin-file/#supported-platforms
|
||||||
var shouldUseFileStorage = isCordova && !isMobile.Windows();
|
var shouldUseFileStorage = isCordova && !isMobile.Windows();
|
||||||
$log.debug('Using file storage:', shouldUseFileStorage);
|
$log.debug('Using file storage:', shouldUseFileStorage);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue