mirror of https://github.com/BTCPrivate/copay.git
add bws url info
This commit is contained in:
parent
763ac28007
commit
6cb324b070
|
@ -1,14 +1,14 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('preferencesBwsUrlController',
|
||||
function($scope, $log, $stateParams, configService, applicationService, profileService, storageService) {
|
||||
function($scope, $log, $stateParams, configService, applicationService, profileService, storageService, $window) {
|
||||
$scope.success = null;
|
||||
|
||||
var wallet = profileService.getWallet($stateParams.walletId);
|
||||
var walletId = wallet.credentials.walletId;
|
||||
var defaults = configService.getDefaults();
|
||||
var config = configService.getSync();
|
||||
|
||||
$scope.appName = $window.appConfig.nameCase;
|
||||
$scope.bwsurl = {
|
||||
value: (config.bwsFor && config.bwsFor[walletId]) || defaults.bws.url
|
||||
};
|
||||
|
|
|
@ -15,6 +15,12 @@
|
|||
</a>
|
||||
</label>
|
||||
</div>
|
||||
<div class="settings-explanation">
|
||||
<div class="settings-description" translate>
|
||||
{{appName}} depends on Bitcore Wallet Service (BWS) for blockchain information, networking and Copayer synchronization.
|
||||
The default configuration points to https://bws.bitpay.com (BitPay's public BWS instance).
|
||||
</div>
|
||||
</div>
|
||||
<button class="button button-standard button-primary" ng-click="save()" translate>Save</button>
|
||||
</ion-content>
|
||||
</ion-view>
|
||||
|
|
Loading…
Reference in New Issue