You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by ha...@apache.org on 2021/02/21 08:39:40 UTC

[incubator-hop] branch master updated: HOP-2542: Display.isSystemDarkTheme is not available in RAP

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 <hi...@gmail.com>
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);