Remove payment received screen after changing tabs
This commit is contained in:
parent
099db37cb6
commit
ec46b50262
1 changed files with 4 additions and 0 deletions
|
|
@ -225,6 +225,10 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
|
||||||
});
|
});
|
||||||
|
|
||||||
$scope.$on("$ionicView.leave", function(event, data) {
|
$scope.$on("$ionicView.leave", function(event, data) {
|
||||||
|
if ($scope.showingPaymentReceived) {
|
||||||
|
$scope.showingPaymentReceived = false;
|
||||||
|
}
|
||||||
|
|
||||||
lodash.each(listeners, function(x) {
|
lodash.each(listeners, function(x) {
|
||||||
x();
|
x();
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue