mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
[Mobile] Fix startup if no internet
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