Fix pause event for Android and WP

This commit is contained in:
Gustavo Maximiliano Cortez 2015-02-03 17:27:11 -02:00
commit 2979861ab0
3 changed files with 3 additions and 3 deletions

View file

@ -155,7 +155,7 @@ angular.module('copayApp.controllers').controller('MoreController',
};
$scope.sendWalletBackup = function() {
if (!isMobile.iOS) {
if (isMobile.Android() || isMobile.Windows()) {
window.ignoreMobilePause = true;
}
window.plugins.toast.showShortCenter('Preparing backup...');

View file

@ -25,7 +25,7 @@ angular.module('copayApp.controllers').controller('ProfileController', function(
};
$scope.sendProfileBackup = function() {
if (!isMobile.iOS) {
if (isMobile.Android() || isMobile.Windows()) {
window.ignoreMobilePause = true;
}
window.plugins.toast.showShortCenter('Preparing backup...');

View file

@ -19,7 +19,7 @@ angular.module('copayApp.controllers').controller('ReceiveController',
$scope.shareAddress = function(addr) {
if (isCordova) {
if (!isMobile.iOS) {
if (isMobile.Android() || isMobile.Windows()) {
window.ignoreMobilePause = true;
}
window.plugins.socialsharing.share('My bitcoin address: ' + addr, null, null, null);