Skip to content

Commit 17daf05

Browse files
authored
Update UpdateModuleImpl.java
1 parent 437975a commit 17daf05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/cn/reactnative/modules/update/UpdateModuleImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public void onDownloadFailed(Throwable error) {
106106
}
107107

108108
private void loadBundleLegacy() {
109-
final Activity currentActivity = getCurrentActivity();
109+
final Activity currentActivity = mContext.getCurrentActivity();
110110
if (currentActivity == null) {
111111
return;
112112
}

0 commit comments

Comments
 (0)