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

Commit dd73ab0

Browse files
committed
Assign fix
1 parent ca965f4 commit dd73ab0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CodePush.ios.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ function sync(options = {}, syncStatusChangeCallback, downloadProgressCallback)
214214
if (typeof syncOptions.updateDialog !== "object") {
215215
syncOptions.updateDialog = CodePush.DEFAULT_UPDATE_DIALOG;
216216
} else {
217-
syncOptions.updateDialog = Object.assign(CodePush.DEFAULT_UPDATE_DIALOG, syncOptions.updateDialog);
217+
syncOptions.updateDialog = Object.assign({}, CodePush.DEFAULT_UPDATE_DIALOG, syncOptions.updateDialog);
218218
}
219219

220220
var message = null;

0 commit comments

Comments
 (0)