Update ModListPage.java
This commit is contained in:
parent
aa86158cfb
commit
0a90b5ab11
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue