Fix missing theming on search suggestion dropdown

This commit is contained in:
Gvidas Juknevičius 2026-01-11 23:51:19 +02:00
parent 7dcaa1436b
commit e83dc45039

View File

@ -53,6 +53,7 @@ impl CompUi for Header {
)); ));
let frame_margin = tf.total_margin(); let frame_margin = tf.total_margin();
tf.show(ui, |ui| { tf.show(ui, |ui| {
ui.style_mut().visuals.override_text_color = Some(theme.text_color);
ui.with_layout(Layout::top_down_justified(Align::LEFT), |ui| { ui.with_layout(Layout::top_down_justified(Align::LEFT), |ui| {
ui.set_width(resp.rect.width() - frame_margin.sum().x); ui.set_width(resp.rect.width() - frame_margin.sum().x);
let st = SearchType::from_str(&search_text); let st = SearchType::from_str(&search_text);