disable animation
This commit is contained in:
parent
daf39c2407
commit
276bce8bc4
2 changed files with 9 additions and 0 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
|
|
@ -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});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue