Merge pull request #5047 from gabrielbazan7/fix/feedback02

fix stores url
This commit is contained in:
Jason Dreyzehner 2016-11-15 16:36:14 -05:00 committed by GitHub
commit 4d3ea9b428

View file

@ -36,10 +36,11 @@ angular.module('copayApp.controllers').controller('rateAppController', function(
};
$scope.goAppStore = function() {
var defaults = configService.getDefaults();
var url;
if (isAndroid) url = config.rateApp.android;
if (isIOS) url = config.rateApp.ios;
// if (isWP) url = config.rateApp.ios; TODO
if (isAndroid) url = defaults.rateApp.android;
if (isIOS) url = defaults.rateApp.ios;
// if (isWP) url = defaults.rateApp.ios; TODO
var title = gettextCatalog.getString('Rate the app');
var message = gettextCatalog.getString('You must go to the official website of the app to rate it');
var okText = gettextCatalog.getString('Go');