Minor fixes

This commit is contained in:
Marc Beyer 2022-02-01 14:05:22 +01:00
parent dc78d69a00
commit 351bcd524d
2 changed files with 3 additions and 3 deletions

View File

@ -22,6 +22,8 @@ public class MainApplication extends Application {
config = new Config(false, -1, "");
}
DataController.SERVER_URL = config.toServerUrl();
System.out.println("Ignore 'Illegal reflective access operation'-Warning. See https://github.com/sshahine/JFoenix/issues/1170");
if(
@ -39,8 +41,6 @@ public class MainApplication extends Application {
ConfigLoader.save(config);
}
DataController.SERVER_URL = config.toServerUrl();
// Load main-scene
loadMainScene(stage);

View File

@ -56,7 +56,7 @@ public class Event {
this.isFullDay = isFullDay;
this.isPrivate = isPrivate;
if (start != null) this.start = start.toString();
if (start != null) this.end = end.toString();
if (end != null) this.end = end.toString();
this.date = date;
this.ownerId = ownerId;
}