Removes online/offline events
This commit is contained in:
parent
a2f2451ad9
commit
d02c1a7f11
4 changed files with 10 additions and 49 deletions
|
|
@ -46,18 +46,6 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
self.resetForm();
|
||||
});
|
||||
|
||||
var disableOnlineListener = $rootScope.$on('Local/Online', function() {
|
||||
// This is needed then the apps go to sleep
|
||||
self.bindTouchDown();
|
||||
});
|
||||
|
||||
var disableResumeListener = $rootScope.$on('Local/Resume', function() {
|
||||
// This is needed then the apps go to sleep
|
||||
self.bindTouchDown();
|
||||
});
|
||||
|
||||
|
||||
|
||||
var disableTabListener = $rootScope.$on('Local/TabChanged', function(e, tab) {
|
||||
// This will slow down switch, do not add things here!
|
||||
switch (tab) {
|
||||
|
|
@ -76,8 +64,6 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
disablePaymentUriListener();
|
||||
disableTabListener();
|
||||
disableFocusListener();
|
||||
disableResumeListener();
|
||||
disableOnlineListener();
|
||||
$rootScope.hideMenuBar = false;
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue