Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 290de8e

Browse files
committed
Merge pull request #75 from oney/fix-mandatoryContinueButtonLabel
fix mandatoryContinueButtonLabel
2 parents 67069c7 + a1a37ca commit 290de8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CodePush.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ function sync(options = {}, syncStatusChangeCallback, downloadProgressCallback)
225225

226226
if (remotePackage.isMandatory) {
227227
message = syncOptions.updateDialog.mandatoryUpdateMessage;
228-
dialogButtons[0].text = syncOptions.mandatoryContinueButtonLabel;
228+
dialogButtons[0].text = syncOptions.updateDialog.mandatoryContinueButtonLabel;
229229
} else {
230230
message = syncOptions.updateDialog.optionalUpdateMessage;
231231
dialogButtons[0].text = syncOptions.updateDialog.optionalInstallButtonLabel;
@@ -297,4 +297,4 @@ var CodePush = {
297297
}
298298
};
299299

300-
module.exports = CodePush;
300+
module.exports = CodePush;

0 commit comments

Comments
 (0)