1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-11-03 14:53:10 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
sunnylqm
2024-04-23 09:30:20 +08:00
parent 9fd6293037
commit 6244bb9af2
4 changed files with 9 additions and 4 deletions

View File

@@ -120,6 +120,9 @@ export const PushyProvider = ({
showAlert('更新检查失败', e.message);
return;
}
if (!info) {
return;
}
updateInfoRef.current = info;
setUpdateInfo(info);
if (info.expired) {