mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-21 21:20:20 +00:00
Updated the channel list theme application to honor explicit light mode selection so it applies the light palette instead of staying dark.
This commit is contained in:
@@ -122,7 +122,7 @@ chanview_apply_theme (chanview *cv)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
w = GTK_WIDGET (tv->tree);
|
w = GTK_WIDGET (tv->tree);
|
||||||
if (fe_dark_mode_is_enabled ())
|
if (fe_dark_mode_is_enabled () || prefs.hex_gui_dark_mode == ZOITECHAT_DARK_MODE_LIGHT)
|
||||||
{
|
{
|
||||||
gtk_widget_modify_base (w, GTK_STATE_NORMAL, &colors[COL_BG]);
|
gtk_widget_modify_base (w, GTK_STATE_NORMAL, &colors[COL_BG]);
|
||||||
gtk_widget_modify_text (w, GTK_STATE_NORMAL, &colors[COL_FG]);
|
gtk_widget_modify_text (w, GTK_STATE_NORMAL, &colors[COL_FG]);
|
||||||
|
|||||||
Reference in New Issue
Block a user