diff options
| -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 |
