diff --git a/src/js/controllers/preferencesBwsUrl.js b/src/js/controllers/preferencesBwsUrl.js index 6885b000c..638219ae4 100644 --- a/src/js/controllers/preferencesBwsUrl.js +++ b/src/js/controllers/preferencesBwsUrl.js @@ -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 }; diff --git a/www/views/preferencesBwsUrl.html b/www/views/preferencesBwsUrl.html index e3d2e7594..397472245 100644 --- a/www/views/preferencesBwsUrl.html +++ b/www/views/preferencesBwsUrl.html @@ -15,6 +15,12 @@ +