(&self)
| 358 | impl ThemesContextMenu { |
| 359 | #[tracing::instrument(level = "debug", skip(self))] |
| 360 | fn export_theme(&self) { |
| 361 | let id = self.id.clone(); |
| 362 | if let Some(id) = id { |
| 363 | spawn_local(async move { |
| 364 | let res = crate::utils::invoke::export_theme(id).await; |
| 365 | if let Err(err) = res { |
| 366 | tracing::error!("Error exporting theme {:?}", err); |
| 367 | } |
| 368 | }); |
| 369 | } |
| 370 | } |
| 371 | |
| 372 | fn remove_theme(&self) { |
| 373 | let id = self.id.clone(); |
nothing calls this directly
no test coverage detected