From f0ae9a0c38c2532220a7460916604914db94c078 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sun, 24 Mar 2024 05:03:09 +0100 Subject: Use `Catalog` approach for all widgets --- widget/src/themer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'widget/src/themer.rs') diff --git a/widget/src/themer.rs b/widget/src/themer.rs index a7eabd2c..f4597458 100644 --- a/widget/src/themer.rs +++ b/widget/src/themer.rs @@ -155,9 +155,9 @@ where if let Some(background) = self.background { container::draw_background( renderer, - &container::Appearance { + &container::Style { background: Some(background(&theme)), - ..container::Appearance::default() + ..container::Style::default() }, layout.bounds(), ); -- cgit