mirror of https://github.com/BTCPrivate/copay.git
Fix Glidera resume event in the 2FA step
This commit is contained in:
parent
5f332a2315
commit
c4ce8b8b8d
|
@ -9,6 +9,8 @@ angular.module('copayApp.controllers').controller('buyGlideraController',
|
|||
this.success = null;
|
||||
this.loading = null;
|
||||
|
||||
window.ignoreMobilePause = true;
|
||||
|
||||
var otherWallets = function(testnet) {
|
||||
var network = testnet ? 'testnet' : 'livenet';
|
||||
return lodash.filter(profileService.getWallets(network), function(w) {
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
angular.module('copayApp.controllers').controller('glideraController',
|
||||
function($scope, $timeout, $modal, profileService, configService, storageService, glideraService, isChromeApp, animationService) {
|
||||
|
||||
window.ignoreMobilePause = true;
|
||||
|
||||
this.getAuthenticateUrl = function() {
|
||||
return glideraService.getOauthCodeUrl();
|
||||
};
|
||||
|
|
|
@ -14,6 +14,8 @@ angular.module('copayApp.controllers').controller('sellGlideraController',
|
|||
this.currentFeeLevel = config.wallet.settings.feeLevel || 'normal';
|
||||
var fc;
|
||||
|
||||
window.ignoreMobilePause = true;
|
||||
|
||||
var otherWallets = function(testnet) {
|
||||
var network = testnet ? 'testnet' : 'livenet';
|
||||
return lodash.filter(profileService.getWallets(network), function(w) {
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
angular.module('copayApp.controllers').controller('walletHomeController', function($scope, $rootScope, $timeout, $filter, $modal, $log, notification, txStatus, isCordova, profileService, lodash, configService, rateService, storageService, bitcore, isChromeApp, gettext, gettextCatalog, nodeWebkit, addressService, ledger, bwsError, confirmDialog, txFormatService, animationService, addressbookService, go, feeService) {
|
||||
|
||||
var self = this;
|
||||
window.ignoreMobilePause = false;
|
||||
$rootScope.hideMenuBar = false;
|
||||
$rootScope.wpInputFocused = false;
|
||||
var config = configService.getSync();
|
||||
|
|
|
@ -45,7 +45,9 @@ angular.element(document).ready(function() {
|
|||
}, 100);
|
||||
}
|
||||
setTimeout(function() {
|
||||
window.ignoreMobilePause = false;
|
||||
var loc = window.location;
|
||||
var ignoreMobilePause = loc.toString().match(/(glidera|buy|sell)/) ? 'true' : 'false';
|
||||
window.ignoreMobilePause = ignoreMobilePause;
|
||||
}, 100);
|
||||
}, false);
|
||||
|
||||
|
|
Loading…
Reference in New Issue