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;