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