Always set showingPaymentReceived to false when entering tab
This commit is contained in:
parent
ec46b50262
commit
bbf3700769
1 changed files with 1 additions and 4 deletions
|
|
@ -221,14 +221,11 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
|
|||
});
|
||||
|
||||
$scope.$on("$ionicView.enter", function(event, data) {
|
||||
$scope.showingPaymentReceived = false;
|
||||
$ionicNavBarDelegate.showBar(true);
|
||||
});
|
||||
|
||||
$scope.$on("$ionicView.leave", function(event, data) {
|
||||
if ($scope.showingPaymentReceived) {
|
||||
$scope.showingPaymentReceived = false;
|
||||
}
|
||||
|
||||
lodash.each(listeners, function(x) {
|
||||
x();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue