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

Update UpdateModule.java

This commit is contained in:
Sunny Luo
2024-12-26 14:50:54 +08:00
committed by GitHub
parent 17daf05bf4
commit 9283ad21fb

View File

@@ -171,7 +171,7 @@ public class UpdateModule extends ReactContextBaseJavaModule {
} }
private void loadBundleLegacy() { private void loadBundleLegacy() {
final Activity currentActivity = getCurrentActivity(); final Activity currentActivity = mContext.getCurrentActivity();
if (currentActivity == null) { if (currentActivity == null) {
return; return;
} }