Skip to content

Commit

Permalink
startpage
Browse files Browse the repository at this point in the history
  • Loading branch information
xaverW committed Jan 19, 2023
1 parent bd89e8f commit 26f84bc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
8 changes: 2 additions & 6 deletions src/main/java/de/p2tools/p2radio/P2Radio.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/
package de.p2tools.p2radio;

import de.p2tools.p2Lib.P2LibConst;
import de.p2tools.p2Lib.P2LibInit;
import de.p2tools.p2Lib.configFile.IoReadWriteStyle;
import de.p2tools.p2Lib.guiTools.PGuiSize;
Expand Down Expand Up @@ -66,9 +65,8 @@ public void start(Stage primaryStage) {

private void initP2lib() {
P2LibInit.initLib(primaryStage, ProgConst.PROGRAM_NAME,
"", ProgData.debug, ProgData.duration);
"", ProgConfig.SYSTEM_DARK_THEME, ProgData.debug, ProgData.duration);
//css-files in die Liste aufnehmen
P2LibInit.addCssFile(P2LibConst.CSS_GUI);
P2LibInit.addCssFile(ProgConst.CSS_FILE);
}

Expand Down Expand Up @@ -125,12 +123,10 @@ private void initRootLayout() {

private void addThemeCss() {
if (ProgConfig.SYSTEM_DARK_THEME.get()) {
P2LibInit.addCssFile(P2LibConst.CSS_GUI_DARK);
P2LibInit.addCssFile(ProgConst.CSS_FILE_DARK_THEME);
} else {
P2LibInit.removeCssFile(P2LibConst.CSS_GUI_DARK);
P2LibInit.removeCssFile(ProgConst.CSS_FILE_DARK_THEME);
}
P2LibInit.addP2LibCssToScene(scene);
P2LibInit.addP2CssToScene(scene);
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/main/resources/version.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Sat, 14 Jan 2023 19:08:32 +0100
#Thu, 19 Jan 2023 14:43:00 +0100
#Tue Jan 04 19:34:41 CET 2022
DATE=14.01.2023
BUILD=86
DATE=19.01.2023
BUILD=94
VERSION=5

0 comments on commit 26f84bc

Please sign in to comment.