Use Theme::Dark in pure_game_of_life example
This commit is contained in:
parent
3a22faaa20
commit
f92afa7950
1 changed files with 4 additions and 0 deletions
|
|
@ -152,6 +152,10 @@ impl Application for GameOfLife {
|
|||
.height(Length::Fill)
|
||||
.into()
|
||||
}
|
||||
|
||||
fn theme(&self) -> Theme {
|
||||
Theme::Dark
|
||||
}
|
||||
}
|
||||
|
||||
fn view_controls<'a>(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue