This commit is contained in:
Javier 2016-05-30 13:26:48 -03:00
commit 736056fd20
5 changed files with 4 additions and 12 deletions

View file

@ -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>

View file

@ -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) {

View file

@ -460,7 +460,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
}
$rootScope.$apply();
});
}, 300);
});
};
// This handles errors from BWS/index which normally

View file

@ -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;

View file

@ -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', {