diff options
| author | pml68 <contact@pml68.dev> | 2025-05-13 00:02:29 +0200 |
|---|---|---|
| committer | pml68 <contact@pml68.dev> | 2025-05-13 00:02:29 +0200 |
| commit | 4febea34098f021c78597882def2deeab5451f3f (patch) | |
| tree | ba0909b8dda34121e790b21d200a7d38fa1be07b /crates/material_theme/src/image.rs | |
| parent | Merge pull request #20 from pml68/feat/custom-theme (diff) | |
| download | iced-builder-4febea34098f021c78597882def2deeab5451f3f.tar.gz | |
chore: update `iced`
Diffstat (limited to '')
| -rw-r--r-- | crates/material_theme/src/image.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/crates/material_theme/src/image.rs b/crates/material_theme/src/image.rs deleted file mode 100644 index 4251b39..0000000 --- a/crates/material_theme/src/image.rs +++ /dev/null @@ -1,15 +0,0 @@ -use iced_widget::image::{Catalog, Style, StyleFn}; - -use super::Theme; - -impl Catalog for Theme { - type Class<'a> = StyleFn<'a, Self>; - - fn default<'a>() -> Self::Class<'a> { - Box::new(|_theme| Style::default()) - } - - fn style(&self, class: &Self::Class<'_>) -> Style { - class(self) - } -} |
