Skip to content

Commit 9283ad2

Browse files
authored
Update UpdateModule.java
1 parent 17daf05 commit 9283ad2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

android/src/oldarch/cn/reactnative/modules/update/UpdateModule.java

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

173173
private void loadBundleLegacy() {
174-
final Activity currentActivity = getCurrentActivity();
174+
final Activity currentActivity = mContext.getCurrentActivity();
175175
if (currentActivity == null) {
176176
return;
177177
}

0 commit comments

Comments
 (0)