rebidn on resume
This commit is contained in:
parent
1338bab062
commit
eba3fef935
1 changed files with 5 additions and 0 deletions
|
|
@ -45,6 +45,10 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
self.resetForm();
|
self.resetForm();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
var disableResumeListener = $rootScope.$on('Local/Resume', function() {
|
||||||
|
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) {
|
||||||
|
|
@ -63,6 +67,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