Skip to content

Commit c86f2be

Browse files
Fix system bars color (#74)
1 parent 0f78f47 commit c86f2be

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/autoload/Configs.gd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,4 @@ func sync_keep_screen_on() -> void:
123123
func sync_theme() -> void:
124124
ThemeUtils.generate_and_apply_theme()
125125
theme_changed.emit()
126+
HandlerGUI.set_system_bar_color(savedata.base_color)

src/autoload/HandlerGUI.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var minimum_content_width : float
3535
func set_system_bar_color(color: Color, override := false) -> void:
3636
if (system_bar_color == color and not override) or not VTAndroidCore:
3737
return
38-
VTAndroidCore.setWindowColor(color)
38+
VTAndroidCore.setWindowColor("#" + color.to_html(false))
3939
system_bar_color = color
4040

4141
func toogle_status_bar(visible: bool, override := false) -> void:

0 commit comments

Comments
 (0)