From a1a37ca1e51e245eeae65f90ceed2790d53035e8 Mon Sep 17 00:00:00 2001 From: Howard Yang Date: Sat, 28 Nov 2015 18:22:37 +0800 Subject: [PATCH] fix mandatoryContinueButtonLabel --- CodePush.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CodePush.js b/CodePush.js index 61142c7..7cae9f6 100644 --- a/CodePush.js +++ b/CodePush.js @@ -225,7 +225,7 @@ function sync(options = {}, syncStatusChangeCallback, downloadProgressCallback) if (remotePackage.isMandatory) { message = syncOptions.updateDialog.mandatoryUpdateMessage; - dialogButtons[0].text = syncOptions.mandatoryContinueButtonLabel; + dialogButtons[0].text = syncOptions.updateDialog.mandatoryContinueButtonLabel; } else { message = syncOptions.updateDialog.optionalUpdateMessage; dialogButtons[0].text = syncOptions.updateDialog.optionalInstallButtonLabel; @@ -297,4 +297,4 @@ var CodePush = { } }; -module.exports = CodePush; \ No newline at end of file +module.exports = CodePush;