aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-09-08 01:27:42 +0200
committerpml68 <contact@pml68.dev>2025-09-08 01:27:42 +0200
commit8c0c740aa6939ff62e572e713f8357e7878e9abc (patch)
treee00067de31e16063ef9dcfb6e0d267239d3c9785
parentdocs(README): add screenshots (diff)
downloadiced_material-8c0c740aa6939ff62e572e713f8357e7878e9abc.tar.gz
chore: update `mundy` to 0.2.0
-rw-r--r--Cargo.toml4
-rw-r--r--src/lib.rs2
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<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