Skip to content

Commit

Permalink
Removed import URL option, as it doesn't make much sense.
Browse files Browse the repository at this point in the history
  • Loading branch information
lanceewing committed Mar 9, 2024
1 parent df9f8cc commit 20079eb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion core/src/main/java/com/agifans/agile/HomeScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,6 @@ public void run() {
@Override
public void importTypeResult(boolean success, ImportType importType) {
if (success) {
// TODO: Add support for URL fetch?
importGameUsingOpenFileDialog(appConfigItem, importType);
}
}
Expand Down
3 changes: 1 addition & 2 deletions core/src/main/java/com/agifans/agile/ui/ImportType.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
public enum ImportType {

DIR("Local folder containing the AGI game files"),
ZIP("Local ZIP file containing the AGI game files"),
URL("URL of a ZIP file containing the AGI game files");
ZIP("Local ZIP file containing the AGI game files");

private String description;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public void showMessageDialog(String message) {
JOptionPane.showMessageDialog(null, message);
dialogOpen = false;
}

@Override
public boolean isDialogOpen() {
return dialogOpen;
Expand Down

0 comments on commit 20079eb

Please sign in to comment.