diff options
| author | pml68 <contact@pml68.dev> | 2025-09-08 01:27:42 +0200 |
|---|---|---|
| committer | pml68 <contact@pml68.dev> | 2025-09-08 01:27:42 +0200 |
| commit | 8c0c740aa6939ff62e572e713f8357e7878e9abc (patch) | |
| tree | e00067de31e16063ef9dcfb6e0d267239d3c9785 | |
| parent | docs(README): add screenshots (diff) | |
| download | iced_material-8c0c740aa6939ff62e572e713f8357e7878e9abc.tar.gz | |
chore: update `mundy` to 0.2.0
| -rw-r--r-- | Cargo.toml | 4 | ||||
| -rw-r--r-- | src/lib.rs | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -8,7 +8,7 @@ license = "MIT" repository = "https://github.com/pml68/iced_builder" categories = ["gui"] keywords = ["gui", "ui", "graphics", "interface", "widgets"] -rust-version = "1.85" +rust-version = "1.88" [features] default = ["system-theme"] @@ -46,7 +46,7 @@ features = ["derive"] optional = true [dependencies.mundy] -version = "0.1.10" +version = "0.2.0" default-features = false features = ["async-io", "color-scheme"] optional = true @@ -264,7 +264,7 @@ impl Base for Theme { #[cfg(feature = "system-theme")] impl From<Preferences> for Theme { fn from(preference: Preferences) -> Self { - if preference.color_scheme == mundy::ColorScheme::Light { + if preference.color_scheme.is_light() { Theme::Light } else { Theme::Dark |
