Bug - 348 - Tapping ↻ on the "Wallet Service URL" screen will change it to a wrong URL.

This commit is contained in:
Sebastiaan Pasma 2018-05-22 09:43:39 +02:00 committed by Sebastiaan Pasma
commit 4e83d09f47

View file

@ -16,7 +16,7 @@ angular.module('copayApp.controllers').controller('preferencesBwsUrlController',
};
$scope.resetDefaultUrl = function() {
$scope.bwsurl.value = defaults.bws.url;
$scope.bwsurl.value = ($scope.wallet.coin === 'btc') ? defaults.bws.url : defaults.bwscash.url;
};
$scope.save = function() {