clean
This commit is contained in:
parent
4142624f41
commit
736056fd20
5 changed files with 4 additions and 12 deletions
|
|
@ -39,11 +39,11 @@
|
|||
|
||||
<h4></h4>
|
||||
|
||||
<ion-toggle ng-model="metaDataEnabled" toggle-class="toggle-balanced" class="r0" ng-change="metaDataChange()">
|
||||
<ion-toggle ng-model="metaDataEnabled" toggle-class="toggle-balanced" class="r0">
|
||||
<span class="toggle-label" translate>Include address book and history cache</span>
|
||||
</ion-toggle>
|
||||
|
||||
<ion-toggle ng-model="noSignEnabled" toggle-class="toggle-balanced" class="r0" ng-change="noSignChange()">
|
||||
<ion-toggle ng-model="noSignEnabled" toggle-class="toggle-balanced" class="r0">
|
||||
<span class="toggle-label" translate>Do not include private key</span>
|
||||
</ion-toggle>
|
||||
|
||||
|
|
|
|||
|
|
@ -12,13 +12,6 @@ angular.module('copayApp.controllers').controller('exportController',
|
|||
var fc = profileService.focusedClient;
|
||||
self.isEncrypted = fc.isPrivKeyEncrypted();
|
||||
|
||||
$scope.metaDataChange = function() {
|
||||
console.log($scope.metaDataEnabled);
|
||||
};
|
||||
$scope.noSignChange = function() {
|
||||
console.log($scope.noSignEnabled);
|
||||
};
|
||||
|
||||
self.downloadWalletBackup = function() {
|
||||
self.getMetaData($scope.metaDataEnabled, function(err, txsFromLocal, localAddressBook) {
|
||||
if (err) {
|
||||
|
|
|
|||
|
|
@ -460,7 +460,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
}
|
||||
$rootScope.$apply();
|
||||
});
|
||||
}, 300);
|
||||
});
|
||||
};
|
||||
|
||||
// This handles errors from BWS/index which normally
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('customAmountController', function($scope, $timeout, $filter, isCordova, rateService) {
|
||||
angular.module('copayApp.controllers').controller('customAmountController', function($scope, $timeout, $filter, isCordova, isMobile, rateService) {
|
||||
var self = $scope.self;
|
||||
|
||||
$scope.unitName = self.unitName;
|
||||
|
|
|
|||
|
|
@ -830,7 +830,6 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
var self = this;
|
||||
|
||||
$scope.btx = btx;
|
||||
$scope.color = profileService.focusedClient.backgroundColor;
|
||||
$scope.self = self;
|
||||
|
||||
$ionicModal.fromTemplateUrl('views/modals/tx-details.html', {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue