mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-10 23:59:42 +08:00
Merge pull request #75 from oney/fix-mandatoryContinueButtonLabel
fix mandatoryContinueButtonLabel
This commit is contained in:
@@ -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;
|
||||
module.exports = CodePush;
|
||||
|
||||
Reference in New Issue
Block a user