From 39d1f52629e601f8bb77f86b23183d163e36f5cb Mon Sep 17 00:00:00 2001 From: bechi Date: Tue, 20 Oct 2015 14:47:25 -0300 Subject: [PATCH 1/2] change png for svg --- src/js/directives/directives.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/directives/directives.js b/src/js/directives/directives.js index cc4064db9..4ac2b8866 100644 --- a/src/js/directives/directives.js +++ b/src/js/directives/directives.js @@ -37,7 +37,7 @@ angular.module('copayApp.directives') if (/^bitcoin:/.test(value)) { var uri, isAddressValid; var isUriValid = URI.isValid(value); - if (isUriValid) { + if (isUriValid) { uri = new URI(value); isAddressValid = Address.isValid(uri.address.toString(), networkName) } @@ -311,7 +311,7 @@ angular.module('copayApp.directives') negative: "=" }, controller: function($scope) { - $scope.logo_url = $scope.negative ? 'img/logo-negative.png' : 'img/logo.png'; + $scope.logo_url = $scope.negative ? 'img/logo-negative.svg' : 'img/logo.png'; }, replace: true, template: 'Copay' From 1faaca8e5a62e00f015a57a5ed8a3dbe4dab9c60 Mon Sep 17 00:00:00 2001 From: bechi Date: Tue, 20 Oct 2015 15:11:57 -0300 Subject: [PATCH 2/2] logo default svg --- src/js/directives/directives.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/directives/directives.js b/src/js/directives/directives.js index 4ac2b8866..3ac8f2c91 100644 --- a/src/js/directives/directives.js +++ b/src/js/directives/directives.js @@ -311,7 +311,7 @@ angular.module('copayApp.directives') negative: "=" }, controller: function($scope) { - $scope.logo_url = $scope.negative ? 'img/logo-negative.svg' : 'img/logo.png'; + $scope.logo_url = $scope.negative ? 'img/logo-negative.svg' : 'img/logo.svg'; }, replace: true, template: 'Copay'