MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / is_dark_mode

Method is_dark_mode

platform/android/display_server_android.cpp:137–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137bool DisplayServerAndroid::is_dark_mode() const {
138 GodotJavaWrapper *godot_java = OS_Android::get_singleton()->get_godot_java();
139 ERR_FAIL_NULL_V(godot_java, false);
140
141 return godot_java->is_dark_mode();
142}
143
144void DisplayServerAndroid::set_system_theme_change_callback(const Callable &p_callable) {
145 system_theme_changed = p_callable;

Callers

nothing calls this directly

Calls 1

get_godot_javaMethod · 0.80

Tested by

no test coverage detected