Revert "adds warning modal for encrypt wallet"
This reverts commit da42d8b159.
This commit is contained in:
parent
e4830e60c0
commit
5a160cabf0
2 changed files with 1 additions and 65 deletions
|
|
@ -6,7 +6,6 @@ angular.module('copayApp.services').factory('ongoingProcess', function($log, $ti
|
|||
var isWindowsPhoneApp = platformInfo.isCordova && platformInfo.isWP;
|
||||
|
||||
var ongoingProcess = {};
|
||||
var pausedOngoingProcess = {};
|
||||
|
||||
var processNames = {
|
||||
'broadcastingTx': gettext('Broadcasting transaction'),
|
||||
|
|
@ -64,18 +63,6 @@ angular.module('copayApp.services').factory('ongoingProcess', function($log, $ti
|
|||
return ongoingProcess[processName];
|
||||
};
|
||||
|
||||
root.pause = function() {
|
||||
pausedOngoingProcess = ongoingProcess;
|
||||
root.clear();
|
||||
}
|
||||
|
||||
root.resume = function() {
|
||||
lodash.forEach(pausedOngoingProcess, function(v, k) {
|
||||
root.set(k, v);
|
||||
});
|
||||
pausedOngoingProcess = {};
|
||||
}
|
||||
|
||||
root.set = function(processName, isOn, customHandler) {
|
||||
$log.debug('ongoingProcess', processName, isOn);
|
||||
root[processName] = isOn;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue