Removed some unused previous situation code.
This commit is contained in:
parent
fc5f6cfa65
commit
2cbf6ef50e
4 changed files with 2 additions and 22 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('copayApp.controllers').controller('preferencesController',
|
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 wallet;
|
||||||
var walletId;
|
var walletId;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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.openSearchModal = function() {
|
||||||
$scope.color = $scope.wallet.color;
|
$scope.color = $scope.wallet.color;
|
||||||
$scope.isSearching = true;
|
$scope.isSearching = true;
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
<ion-nav-title>
|
<ion-nav-title>
|
||||||
{{'Wallet Settings'|translate}}
|
{{'Wallet Settings'|translate}}
|
||||||
</ion-nav-title>
|
</ion-nav-title>
|
||||||
<ion-nav-back-button ng-click="goBack()">
|
<ion-nav-back-button>
|
||||||
</ion-nav-back-button>
|
</ion-nav-back-button>
|
||||||
</ion-nav-bar>
|
</ion-nav-bar>
|
||||||
<ion-content>
|
<ion-content>
|
||||||
|
|
|
||||||
|
|
@ -100,22 +100,6 @@
|
||||||
<i class="icon bp-arrow-right"></i>
|
<i class="icon bp-arrow-right"></i>
|
||||||
</a>
|
</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>
|
<div class="item item-divider" ng-show="bitpayAccounts || buyAndSellServices[0]">{{'Integrations' | translate}}</div>
|
||||||
|
|
||||||
<a class=" item item-icon-left item-icon-right"
|
<a class=" item item-icon-left item-icon-right"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue