Remove payment received screen after changing tabs

This commit is contained in:
Sebastiaan Pasma 2018-06-13 18:34:32 +02:00
commit ec46b50262

View file

@ -225,6 +225,10 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
});
$scope.$on("$ionicView.leave", function(event, data) {
if ($scope.showingPaymentReceived) {
$scope.showingPaymentReceived = false;
}
lodash.each(listeners, function(x) {
x();
});