Skip to content

Commit

Permalink
Fix style in solar_system example
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Feb 9, 2024
1 parent 8a8c1ab commit 6600f66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/solar_system/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Message> {
Expand Down

0 comments on commit 6600f66

Please sign in to comment.