Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
Fix theming issues
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldieeins committed Apr 28, 2024
1 parent 92873fe commit 9cc6df4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,30 +257,30 @@ public static String getOnlineStartURL() {
}

public static String getURLBase() {
return "file://"+Main.getDirectoryPath()+"temp/ui/";
return Main.getDirectoryPath()+"temp/ui/";
}

public static String getNewsURL() {
if(online) {
return "https://danieldieeins.github.io/Zyneon-Application/content/start.html";
} else {
return getURLBase()+"start.html";
return "file://"+getURLBase()+"start.html";
}
}

public static String getInstancesURL() {
if(online) {
return "https://danieldieeins.github.io/Zyneon-Application/content/instances.html";
} else {
return getURLBase()+"instances.html";
return "file://"+getURLBase()+"instances.html";
}
}

public static String getSettingsURL() {
if(online) {
return "https://danieldieeins.github.io/Zyneon-Application/content/settings.html";
} else {
return getURLBase()+"settings.html";
return "file://"+getURLBase()+"settings.html";
}
}

Expand Down

0 comments on commit 9cc6df4

Please sign in to comment.