diff options
Diffstat (limited to 'theme_test/src/main.rs')
| -rw-r--r-- | theme_test/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/theme_test/src/main.rs b/theme_test/src/main.rs index b4a7731..cba4377 100644 --- a/theme_test/src/main.rs +++ b/theme_test/src/main.rs @@ -18,7 +18,7 @@ use material_theme::text::surface_variant; fn main() -> iced::Result { iced::application(State::default, State::update, State::view) - .theme(|state| *state.theme.value()) + .theme(|state| state.theme.value().clone()) .run() } |
