reactivate swipeback when leaving a view where swipeback is not enabled
This commit is contained in:
parent
9187c72fb9
commit
91b62bb884
8 changed files with 53 additions and 9 deletions
|
|
@ -41,6 +41,10 @@ angular.module('copayApp.controllers').controller('sendController', function($sc
|
|||
if (goHome) $state.go('tabs.home');
|
||||
};
|
||||
|
||||
$scope.$on("$ionicView.beforeLeave", function(event, data) {
|
||||
$ionicConfig.views.swipeBackEnabled(true);
|
||||
});
|
||||
|
||||
$scope.$on("$ionicView.beforeEnter", function(event, data) {
|
||||
$scope.isCordova = platformInfo.isCordova;
|
||||
$scope.score = (data.stateParams && data.stateParams.score) ? parseInt(data.stateParams.score) : null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue