fixes
This commit is contained in:
parent
a2c6639962
commit
3bef5ce7ff
3 changed files with 7 additions and 9 deletions
|
|
@ -82,7 +82,8 @@ angular.module('copayApp.controllers').controller('amazonController',
|
|||
$scope.giftCards = lodash.isEmpty(gcds) ? null : gcds;
|
||||
$timeout(function() {
|
||||
$scope.$digest();
|
||||
});
|
||||
$ionicScrollDelegate.resize();
|
||||
}, 10);
|
||||
});
|
||||
});
|
||||
} else $log.debug("pending gift card not available yet");
|
||||
|
|
@ -107,9 +108,6 @@ angular.module('copayApp.controllers').controller('amazonController',
|
|||
|
||||
$scope.$on('modal.hidden', function() {
|
||||
$scope.updatePendingGiftCards();
|
||||
$timeout(function() {
|
||||
$ionicScrollDelegate.resize();
|
||||
}, 10);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ angular.module('copayApp.services').factory('amazonService', function($http, $lo
|
|||
* Development: 'testnet'
|
||||
* Production: 'livenet'
|
||||
*/
|
||||
credentials.NETWORK = 'testnet';
|
||||
credentials.NETWORK = 'livenet';
|
||||
|
||||
if (credentials.NETWORK == 'testnet') {
|
||||
credentials.BITPAY_API_URL = "https://test.bitpay.com";
|
||||
|
|
|
|||
|
|
@ -40,10 +40,10 @@ angular.module('copayApp.services').factory('ongoingProcess', function($log, $ti
|
|||
'sending2faCode': gettext('Sending 2FA code...'),
|
||||
'buyingBitcoin': gettext('Buying Bitcoin...'),
|
||||
'sellingBitcoin': gettext('Selling Bitcoin...'),
|
||||
'updateGiftCards': gettext('Updating Gift Cards...'),
|
||||
'updateGiftCard': gettext('Updating Gift Card...'),
|
||||
'cancelGiftCard': gettext('Canceling Gift Card...'),
|
||||
'createGiftCard': gettext('Creating Gift Card...')
|
||||
'updateGiftCards': 'Updating Gift Cards...',
|
||||
'updateGiftCard': 'Updating Gift Card...',
|
||||
'cancelGiftCard': 'Canceling Gift Card...',
|
||||
'createGiftCard': 'Creating Gift Card...'
|
||||
};
|
||||
|
||||
root.clear = function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue