mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Merge branch 'master' into 'master'
[Mobile] Fix startup if no internet See merge request core-developers/forge!6356
This commit is contained in:
@@ -112,9 +112,12 @@ public class AssetsDownloader {
|
|||||||
else {
|
else {
|
||||||
message += "You cannot start the app since you haven't previously downloaded these files.";
|
message += "You cannot start the app since you haven't previously downloaded these files.";
|
||||||
}
|
}
|
||||||
SOptionPane.showMessageDialog(message, "No Internet Connection");
|
switch (SOptionPane.showOptionDialog(message, "No Internet Connection", null, ImmutableList.of("Ok"))) {
|
||||||
if (!canIgnoreDownload) {
|
default: {
|
||||||
Forge.exitAnimation(false); //exit if can't ignore download
|
if (!canIgnoreDownload) {
|
||||||
|
Forge.exitAnimation(false); //exit if can't ignore download
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user