MCPcopy Create free account
hub / github.com/HumbleUI/JWM / isDark

Method isDark

shared/java/Theme.java:19–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 }
18
19 public static boolean isDark() {
20 assert App._onUIThread() : "Should be run on UI thread";
21 if (Platform.CURRENT != Platform.WINDOWS && Platform.CURRENT != Platform.MACOS)
22 return false;
23 return _nIsDark();
24 }
25
26 public static boolean isInverted() {
27 assert App._onUIThread() : "Should be run on UI thread";

Callers 1

paintImplMethod · 0.95

Calls 2

_onUIThreadMethod · 0.95
_nIsDarkMethod · 0.95

Tested by

no test coverage detected