disable animation

This commit is contained in:
Sebastiaan Pasma 2018-09-18 15:19:06 +02:00
commit 276bce8bc4
No known key found for this signature in database
GPG key ID: 9A2B0C8B95A1D26F
2 changed files with 9 additions and 0 deletions

View file

@ -123,6 +123,9 @@ angular.module('copayApp.controllers').controller('preferencesController',
if (backToDetails) { if (backToDetails) {
$state.go('tabs.home').then(function () { $state.go('tabs.home').then(function () {
$ionicHistory.clearHistory(); $ionicHistory.clearHistory();
$ionicHistory.nextViewOptions({
disableAnimate: true
});
$state.go('tabs.wallet', {'walletId': wallet.id}); $state.go('tabs.wallet', {'walletId': wallet.id});
}); });
} else { } else {

View file

@ -116,8 +116,14 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
}; };
$scope.openSettings = function() { $scope.openSettings = function() {
$ionicHistory.nextViewOptions({
disableAnimate: true,
});
$state.go('tabs.settings').then(function () { $state.go('tabs.settings').then(function () {
$ionicHistory.clearHistory(); $ionicHistory.clearHistory();
$ionicHistory.nextViewOptions({
disableAnimate: true,
});
$state.go('tabs.preferences', {'walletId': $scope.wallet.id, 'backToDetails': true}); $state.go('tabs.preferences', {'walletId': $scope.wallet.id, 'backToDetails': true});
}); });
}; };