Adds setting for bitcoin cash support

This commit is contained in:
Gustavo Maximiliano Cortez 2017-08-30 16:38:42 -03:00
commit 7d64827616
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
12 changed files with 34 additions and 51 deletions

View file

@ -5,12 +5,14 @@ angular.module('copayApp.controllers').controller('joinController',
$scope.$on("$ionicView.beforeEnter", function(event, data) {
var defaults = configService.getDefaults();
var config = configService.getSync();
$scope.formData = {};
$scope.formData.bwsurl = defaults.bws.url;
$scope.formData.derivationPath = derivationPathHelper.default;
$scope.formData.account = 1;
$scope.formData.secret = null;
$scope.formData.coin = 'btc';
if (config.cashSupport.enabled) $scope.enableCash = true;
resetPasswordFields();
updateSeedSourceSelect();
});