mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-13 09:25:36 +08:00
Fixing assign regression
This commit is contained in:
@@ -218,7 +218,7 @@ function sync(options = {}, syncStatusChangeCallback, downloadProgressCallback)
|
||||
if (typeof syncOptions.updateDialog !== "object") {
|
||||
syncOptions.updateDialog = CodePush.DEFAULT_UPDATE_DIALOG;
|
||||
} else {
|
||||
syncOptions.updateDialog = Object.assign(CodePush.DEFAULT_UPDATE_DIALOG, syncOptions.updateDialog);
|
||||
syncOptions.updateDialog = Object.assign({}, CodePush.DEFAULT_UPDATE_DIALOG, syncOptions.updateDialog);
|
||||
}
|
||||
|
||||
var message = null;
|
||||
|
||||
Reference in New Issue
Block a user