From 1ae53be25df0ca3640329a2ea93099eda39db923 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 24 Sep 2015 13:50:49 -0400 Subject: [PATCH] update file system methods --- dashboard-ui/cordova/registrationservices.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/dashboard-ui/cordova/registrationservices.js b/dashboard-ui/cordova/registrationservices.js index 4685d11f74..d8e8a141bc 100644 --- a/dashboard-ui/cordova/registrationservices.js +++ b/dashboard-ui/cordova/registrationservices.js @@ -68,7 +68,7 @@ } var productInfo = { - enableSupporterUnlock: isAndroid(), + enableSupporterUnlock: true, enableAppUnlock: IapManager.isPurchaseAvailable(id), id: id, price: info.price @@ -135,10 +135,12 @@ html += '

'; - if (info.enableSupporterUnlock && info.enableAppUnlock) { + var showSupporterInfo = info.enableSupporterUnlock && !$.browser.safari; + + if (showSupporterInfo && info.enableAppUnlock) { html += Globalize.translate('MessageUnlockAppWithPurchaseOrSupporter'); } - else if (info.enableSupporterUnlock) { + else if (showSupporterInfo) { html += Globalize.translate('MessageUnlockAppWithSupporter'); } else if (info.enableAppUnlock) { html += Globalize.translate('MessageUnlockAppWithPurchase'); @@ -149,7 +151,7 @@ } html += '

'; - if (info.enableSupporterUnlock) { + if (showSupporterInfo) { html += '

'; html += Globalize.translate('MessageToValidateSupporter'); html += '

'; @@ -172,7 +174,7 @@ } } - if (info.enableSupporterUnlock) { + if (showSupporterInfo) { html += '

'; html += '' + Globalize.translate('ButtonUnlockWithSupporter') + ''; html += '

';