From 4febea34098f021c78597882def2deeab5451f3f Mon Sep 17 00:00:00 2001 From: pml68 Date: Tue, 13 May 2025 00:02:29 +0200 Subject: chore: update `iced` --- crates/material_theme/src/image.rs | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 crates/material_theme/src/image.rs (limited to 'crates/material_theme/src/image.rs') 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) - } -} -- cgit v1.2.3