Remove wallet preferences from App Settings and change the route to be able to use inside wallet Details (within tab-home)

This commit is contained in:
Sebastiaan Pasma 2018-10-02 14:55:31 +02:00
commit fc5f6cfa65
No known key found for this signature in database
GPG key ID: 9A2B0C8B95A1D26F
5 changed files with 31 additions and 56 deletions

View file

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