mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-30 00:41:42 +00:00
relay drop down: don't crash on dark mode, show what the default would have
This commit is contained in:
parent
ed3eff34cc
commit
de7f448270
@ -276,7 +276,7 @@ impl ThemeDef for DefaultTheme {
|
||||
fn get_on_accent_style(dark_mode: bool) -> Style {
|
||||
let mut style = Self::get_style(!dark_mode);
|
||||
if dark_mode {
|
||||
todo!()
|
||||
// TODO style dark mode
|
||||
} else {
|
||||
style.visuals.widgets.noninteractive.fg_stroke.color = Color32::WHITE;
|
||||
style.visuals.widgets.inactive.bg_fill = Color32::from_black_alpha(20);
|
||||
|
Loading…
Reference in New Issue
Block a user