rebidn on resume

This commit is contained in:
Matias Alejo Garcia 2015-04-28 18:00:49 -03:00
commit eba3fef935

View file

@ -45,6 +45,10 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
self.resetForm();
});
var disableResumeListener = $rootScope.$on('Local/Resume', function() {
self.bindTouchDown();
});
var disableTabListener = $rootScope.$on('Local/TabChanged', function(e, tab) {
// This will slow down switch, do not add things here!
switch (tab) {
@ -63,6 +67,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
disablePaymentUriListener();
disableTabListener();
disableFocusListener();
disableResumeListener();
$rootScope.hideMenuBar = false;
});