diff options
author | 2022-06-07 04:57:10 +0200 | |
---|---|---|
committer | 2022-06-07 04:57:10 +0200 | |
commit | f92afa795062cf38f0f99d0a1545a990ed35b09c (patch) | |
tree | 453c2bbefd69b996e029ffa8e91ca9b36e80eb46 | |
parent | 3a22faaa204790126fc27a50d597fa7d069f8f8e (diff) | |
download | iced-f92afa795062cf38f0f99d0a1545a990ed35b09c.tar.gz iced-f92afa795062cf38f0f99d0a1545a990ed35b09c.tar.bz2 iced-f92afa795062cf38f0f99d0a1545a990ed35b09c.zip |
Use `Theme::Dark` in `pure_game_of_life` example
-rw-r--r-- | examples/pure/game_of_life/src/main.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/pure/game_of_life/src/main.rs b/examples/pure/game_of_life/src/main.rs index 58528b96..2af139e8 100644 --- a/examples/pure/game_of_life/src/main.rs +++ b/examples/pure/game_of_life/src/main.rs @@ -152,6 +152,10 @@ impl Application for GameOfLife { .height(Length::Fill) .into() } + + fn theme(&self) -> Theme { + Theme::Dark + } } fn view_controls<'a>( |