diff --git a/src/js/controllers/feedback/complete.js b/src/js/controllers/feedback/complete.js index ad2ee0e40..3f5a4e621 100644 --- a/src/js/controllers/feedback/complete.js +++ b/src/js/controllers/feedback/complete.js @@ -32,7 +32,7 @@ angular.module('copayApp.controllers').controller('completeController', function $scope.$on("$ionicView.beforeEnter", function(event, data) { if(window.StatusBar){ - StatusBar.show(); + StatusBar.hide(); } storageService.getFeedbackInfo(function(error, info) { diff --git a/src/js/controllers/feedback/rateApp.js b/src/js/controllers/feedback/rateApp.js index dcbaa7397..3f472cf90 100644 --- a/src/js/controllers/feedback/rateApp.js +++ b/src/js/controllers/feedback/rateApp.js @@ -40,11 +40,7 @@ angular.module('copayApp.controllers').controller('rateAppController', function( var url; 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'); - var cancelText = gettextCatalog.getString('Cancel'); - externalLinkService.open(url, true, title, message, okText, cancelText); + // if (isWP) url = defaults.rateApp.windows; // TODO + externalLinkService.open(url); }; }); diff --git a/src/js/services/configService.js b/src/js/services/configService.js index a51906f82..5bd6c3cc6 100644 --- a/src/js/services/configService.js +++ b/src/js/services/configService.js @@ -20,7 +20,7 @@ angular.module('copayApp.services').factory('configService', function(storageSer }, rateApp: { - ios: 'https://itunes.apple.com/app/bitpay-secure-bitcoin-wallet/id1149581638', + ios: 'http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=1149581638&pageNumber=0&sortOrdering=2&type=Purple+Software&mt=8', android: 'https://play.google.com/store/apps/details?id=com.bitpay.wallet', wp: '' }, diff --git a/src/js/services/popupService.js b/src/js/services/popupService.js index 8a78b6035..a1fc1ffe0 100644 --- a/src/js/services/popupService.js +++ b/src/js/services/popupService.js @@ -51,12 +51,12 @@ angular.module('copayApp.services').service('popupService', function($log, $ioni var _cordovaConfirm = function(title, message, okText, cancelText, cb) { var onConfirm = function(buttonIndex) { - if (buttonIndex == 1) return cb(true); + if (buttonIndex == 2) return cb(true); else return cb(false); } okText = okText || gettextCatalog.getString('OK'); cancelText = cancelText || gettextCatalog.getString('Cancel'); - navigator.notification.confirm(message, onConfirm, title, [okText, cancelText]); + navigator.notification.confirm(message, onConfirm, title, [cancelText, okText]); }; var _cordovaPrompt = function(title, message, opts, cb) {