remote ignoreMobilePause, refactor openURL
This commit is contained in:
parent
df12f9c177
commit
2a97446ef9
23 changed files with 356 additions and 337 deletions
|
|
@ -12,7 +12,6 @@ angular.module('copayApp.directives')
|
|||
var onSuccess = function(result) {
|
||||
$timeout(function() {
|
||||
window.plugins.spinnerDialog.hide();
|
||||
window.ignoreMobilePause = false;
|
||||
}, 100);
|
||||
if (isWP && result.cancelled) return;
|
||||
|
||||
|
|
@ -26,13 +25,11 @@ angular.module('copayApp.directives')
|
|||
|
||||
var onError = function(error) {
|
||||
$timeout(function() {
|
||||
window.ignoreMobilePause = false;
|
||||
window.plugins.spinnerDialog.hide();
|
||||
}, 100);
|
||||
};
|
||||
|
||||
$scope.cordovaOpenScanner = function() {
|
||||
window.ignoreMobilePause = true;
|
||||
window.plugins.spinnerDialog.show(null, gettextCatalog.getString('Preparing camera...'), true);
|
||||
$timeout(function() {
|
||||
if (isIOS) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue