This is an automated email from the ASF dual-hosted git repository.
hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hop.git
The following commit(s) were added to refs/heads/master by this push:
new d89dac4 HOP-2542: Display.isSystemDarkTheme is not available in RAP
new ce71e95 Merge pull request #637 from HiromuHota/HOP-2542
d89dac4 is described below
commit d89dac4f91abb9ab705caef5f3bf65baf34c56c2
Author: Hiromu Hota <[email protected]>
AuthorDate: Sat Feb 20 15:55:40 2021 -0800
HOP-2542: Display.isSystemDarkTheme is not available in RAP
---
ui/src/main/java/org/apache/hop/ui/core/PropsUi.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/src/main/java/org/apache/hop/ui/core/PropsUi.java
b/ui/src/main/java/org/apache/hop/ui/core/PropsUi.java
index 0810211..6f05dac 100644
--- a/ui/src/main/java/org/apache/hop/ui/core/PropsUi.java
+++ b/ui/src/main/java/org/apache/hop/ui/core/PropsUi.java
@@ -124,7 +124,7 @@ public class PropsUi extends Props {
populateContrastingColors();
- if (!OsHelper.isWindows()) {
+ if (!OsHelper.isWindows() & !EnvironmentUtils.getInstance().isWeb()) {
if (Display.isSystemDarkTheme()) {
setDarkMode(true);
setOSLookShown(true);