Merge pull request #5450 from JDonadio/fix/release-url

Fix release url
This commit is contained in:
Matias Alejo Garcia 2017-01-16 12:07:34 -03:00 committed by GitHub
commit 7a4ec91fc7

View file

@ -133,7 +133,8 @@ angular.module('copayApp.controllers').controller('tabHomeController',
};
$scope.openExternalLink = function() {
var url = 'https://github.com/bitpay/copay/releases/latest';
var config = configService.getSync();
var url = config.release.url;
var optIn = true;
var title = gettextCatalog.getString('Update Available');
var message = gettextCatalog.getString('An update to this app is available. For your security, please update to the latest version.');