pub fn global_theme_preference_switch(ui: &mut Ui)👎Deprecated:
Use global_theme_preference_buttons instead: it also covers following the system theme
Expand description
Show a small button to switch to/from dark/light mode (globally).
This does not allow switching back to following the system theme,
which is why global_theme_preference_buttons is preferred.