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:
parent
5896dac9b7
commit
fc5f6cfa65
5 changed files with 31 additions and 56 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue