(&mut self)
| 2600 | } |
| 2601 | |
| 2602 | fn refresh_theme_list_dialog(&mut self) { |
| 2603 | let options = self |
| 2604 | .context |
| 2605 | .available_theme_names() |
| 2606 | .into_iter() |
| 2607 | .map(|name| ThemeOption { |
| 2608 | id: name.clone(), |
| 2609 | name: format_theme_option_label(&name), |
| 2610 | }) |
| 2611 | .collect::<Vec<_>>(); |
| 2612 | self.theme_list_dialog.set_options(options); |
| 2613 | } |
| 2614 | |
| 2615 | fn refresh_skill_list_dialog(&mut self) -> anyhow::Result<()> { |
| 2616 | let Some(client) = self.context.get_api_client() else { |
no test coverage detected