Resume event is still needed
This commit is contained in:
parent
678e3c8ac2
commit
e2a334238d
1 changed files with 6 additions and 0 deletions
|
|
@ -46,6 +46,11 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
self.resetForm();
|
self.resetForm();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
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) {
|
var disableTabListener = $rootScope.$on('Local/TabChanged', function(e, tab) {
|
||||||
// This will slow down switch, do not add things here!
|
// This will slow down switch, do not add things here!
|
||||||
switch (tab) {
|
switch (tab) {
|
||||||
|
|
@ -64,6 +69,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
disablePaymentUriListener();
|
disablePaymentUriListener();
|
||||||
disableTabListener();
|
disableTabListener();
|
||||||
disableFocusListener();
|
disableFocusListener();
|
||||||
|
disableResumeListener();
|
||||||
$rootScope.hideMenuBar = false;
|
$rootScope.hideMenuBar = false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue