Merge pull request #5456 from tuladhar/patch-3

Allow user to cancel on going progress and hide spinner dialog
This commit is contained in:
Matias Alejo Garcia 2017-01-18 12:17:31 -03:00 committed by GitHub
commit 31dee6775d

View file

@ -79,7 +79,7 @@ angular.module('copayApp.services').factory('ongoingProcess', function($log, $ti
customHandler(processName, showName, isOn);
} else if (root.onGoingProcessName) {
if (isCordova) {
window.plugins.spinnerDialog.show(null, showName, true);
window.plugins.spinnerDialog.show(null, showName, root.clear);
} else {
var tmpl = '<div class="item-icon-left">' + showName + '<ion-spinner class="spinner-stable" icon="lines"></ion-spinner></div>';