1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-10-23 01:36:43 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

Reorder properties in CheckResult object for consistency in UpdateProvider component.

This commit is contained in:
sunnylqm
2025-09-28 23:23:16 +08:00
parent c24f469475
commit 4e27d906c3

View File

@@ -179,8 +179,8 @@ export const UpdateProvider = ({
delete rootInfo.expVersion;
for (const versionInfo of versions) {
const info: CheckResult = {
...versionInfo,
...rootInfo,
...versionInfo,
};
const rollout = info.config?.rollout?.[packageVersion];
if (info.update && rollout) {