summaryrefslogtreecommitdiff
path: root/crates/material_theme/src/image.rs
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-05-13 00:02:29 +0200
committerpml68 <contact@pml68.dev>2025-05-13 00:02:29 +0200
commit4febea34098f021c78597882def2deeab5451f3f (patch)
treeba0909b8dda34121e790b21d200a7d38fa1be07b /crates/material_theme/src/image.rs
parentMerge pull request #20 from pml68/feat/custom-theme (diff)
downloadiced-builder-4febea34098f021c78597882def2deeab5451f3f.tar.gz
chore: update `iced`
Diffstat (limited to 'crates/material_theme/src/image.rs')
-rw-r--r--crates/material_theme/src/image.rs15
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)
- }
-}