aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-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