Update ModListPage.java

This commit is contained in:
Tungstend 2023-12-24 21:56:15 +08:00
parent aa86158cfb
commit 0a90b5ab11
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ public class ModListPage extends FCLCommonPage implements ManageUI.VersionLoadab
return null; return null;
}) })
.whenComplete(Schedulers.androidUIThread(), (result, exception) -> { .whenComplete(Schedulers.androidUIThread(), (result, exception) -> {
if (exception != null) { if (exception != null || result == null) {
FCLAlertDialog.Builder builder = new FCLAlertDialog.Builder(getContext()); FCLAlertDialog.Builder builder = new FCLAlertDialog.Builder(getContext());
builder.setCancelable(false); builder.setCancelable(false);
builder.setAlertLevel(FCLAlertDialog.AlertLevel.ALERT); builder.setAlertLevel(FCLAlertDialog.AlertLevel.ALERT);