From dac7e82e0bff128097653fe05829b2d576fcdb2f Mon Sep 17 00:00:00 2001 From: pml68 Date: Mon, 28 Apr 2025 10:56:49 +0200 Subject: refactor(material_theme)!: make `Theme` an enum with `Custom` variant --- crates/material_theme/src/qr_code.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/material_theme/src/qr_code.rs') diff --git a/crates/material_theme/src/qr_code.rs b/crates/material_theme/src/qr_code.rs index f93fb77..f603440 100644 --- a/crates/material_theme/src/qr_code.rs +++ b/crates/material_theme/src/qr_code.rs @@ -15,7 +15,7 @@ impl Catalog for Theme { } pub fn default(theme: &Theme) -> Style { - let surface = theme.colorscheme.surface; + let surface = theme.colors().surface; Style { cell: surface.on_surface, -- cgit v1.2.3