From 8c0c740aa6939ff62e572e713f8357e7878e9abc Mon Sep 17 00:00:00 2001 From: pml68 Date: Mon, 8 Sep 2025 01:27:42 +0200 Subject: chore: update `mundy` to 0.2.0 --- Cargo.toml | 4 ++-- src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8e1002c..19bec1d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 diff --git a/src/lib.rs b/src/lib.rs index 10b3339..d70501b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -264,7 +264,7 @@ impl Base for Theme { #[cfg(feature = "system-theme")] impl From 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 -- cgit v1.2.3