(
ctx: &egui::Context,
state: &AppStateRef,
show: &mut bool,
appearance: &Appearance,
)
| 873 | } |
| 874 | |
| 875 | pub fn arch_config_window( |
| 876 | ctx: &egui::Context, |
| 877 | state: &AppStateRef, |
| 878 | show: &mut bool, |
| 879 | appearance: &Appearance, |
| 880 | ) { |
| 881 | let mut state_guard = state.write().unwrap(); |
| 882 | egui::Window::new("Arch Settings").open(show).show(ctx, |ui| { |
| 883 | arch_config_ui(ui, &mut state_guard, appearance); |
| 884 | }); |
| 885 | } |
| 886 | |
| 887 | fn project_override_badge(ui: &mut egui::Ui) -> egui::Response { |
| 888 | ui.add(egui::Label::new(RichText::new("⛭").color(ui.visuals().warn_fg_color)).selectable(false)) |
no test coverage detected