Disable custom theme for now

This commit is contained in:
Sebastian Stenzel
2019-09-19 10:42:14 +02:00
parent d87955adb6
commit ad29c009b2

View File

@@ -119,10 +119,10 @@ public class FxApplication extends Application {
private void loadSelectedStyleSheet(UiTheme theme) {
switch (theme) {
case CUSTOM:
// TODO
Application.setUserAgentStylesheet(getClass().getResource("/css/mac_theme.css").toString());
break;
// case CUSTOM:
// // TODO
// Application.setUserAgentStylesheet(getClass().getResource("/css/mac_theme.css").toString());
// break;
case DARK:
Application.setUserAgentStylesheet(getClass().getResource("/css/dark_theme.css").toString());
macFunctions.map(MacFunctions::uiAppearance).ifPresent(JniException.ignore(MacApplicationUiAppearance::setToDarkAqua));