Wallet Settings button in Wallet Details

This commit is contained in:
Sebastiaan Pasma 2018-09-13 14:49:06 +02:00
commit 1615db9890
No known key found for this signature in database
GPG key ID: 9A2B0C8B95A1D26F
5 changed files with 26 additions and 3 deletions

View file

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