Removed some unused previous situation code.

This commit is contained in:
Sebastiaan Pasma 2018-10-02 15:00:11 +02:00
commit 2cbf6ef50e
No known key found for this signature in database
GPG key ID: 9A2B0C8B95A1D26F
4 changed files with 2 additions and 22 deletions

View file

@ -1,7 +1,7 @@
'use strict';
angular.module('copayApp.controllers').controller('preferencesController',
function($scope, $rootScope, $state, $timeout, $log, $ionicHistory, $ionicPlatform, configService, profileService, fingerprintService, walletService, platformInfo, externalLinkService, gettextCatalog, $ionicNavBarDelegate) {
function($scope, $rootScope, $timeout, $log, $ionicHistory, configService, profileService, fingerprintService, walletService, platformInfo, externalLinkService, gettextCatalog, $ionicNavBarDelegate) {
var wallet;
var walletId;

View file

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

View file

@ -3,7 +3,7 @@
<ion-nav-title>
{{'Wallet Settings'|translate}}
</ion-nav-title>
<ion-nav-back-button ng-click="goBack()">
<ion-nav-back-button>
</ion-nav-back-button>
</ion-nav-bar>
<ion-content>

View file

@ -100,22 +100,6 @@
<i class="icon bp-arrow-right"></i>
</a>
<!--<div class="item item-divider" ng-show="walletsBch[0]">{{'Bitcoin Cash (BCH)' | translate}}</div>-->
<!--<a class="item item-icon-left item-icon-right" href-->
<!--ui-sref="tabs.preferences({'walletId': wallet.id})"-->
<!--ng-repeat="wallet in walletsBch track by $index">-->
<!--<span ng-include="'views/includes/walletListSettings.html'"></span>-->
<!--</a>-->
<!--<div class="item item-divider" ng-show="walletsBtc[0]">{{'Bitcoin Core (BTC)' | translate}}</div>-->
<!--<a class="item item-icon-left item-icon-right" href-->
<!--ui-sref="tabs.preferences({'walletId': wallet.id})"-->
<!--ng-repeat="wallet in walletsBtc track by $index">-->
<!--<span ng-include="'views/includes/walletListSettings.html'"></span>-->
<!--</a>-->
<div class="item item-divider" ng-show="bitpayAccounts || buyAndSellServices[0]">{{'Integrations' | translate}}</div>
<a class=" item item-icon-left item-icon-right"