From 6600f66cbd7c3c4538c7fd77ba3517fcb60da606 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sat, 10 Feb 2024 00:39:31 +0100 Subject: Fix `style` in `solar_system` example --- examples/solar_system/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/solar_system') diff --git a/examples/solar_system/src/main.rs b/examples/solar_system/src/main.rs index 82421a86..a58ca683 100644 --- a/examples/solar_system/src/main.rs +++ b/examples/solar_system/src/main.rs @@ -88,7 +88,7 @@ impl Application for SolarSystem { } } - theme::Application::from(dark_background as fn(&Theme) -> _) + theme::Application::custom(dark_background) } fn subscription(&self) -> Subscription { -- cgit