diff options
author | 2019-11-25 14:17:13 +0100 | |
---|---|---|
committer | 2019-11-25 14:17:13 +0100 | |
commit | d70021fa68b556e20638f29e2e303f6d156afdb6 (patch) | |
tree | ddc0f00151b1ec71610e60045812493153788632 /examples/todos.rs | |
parent | e72b5ceeb8c6461a34e85909a48debf46505d00a (diff) | |
download | iced-d70021fa68b556e20638f29e2e303f6d156afdb6.tar.gz iced-d70021fa68b556e20638f29e2e303f6d156afdb6.tar.bz2 iced-d70021fa68b556e20638f29e2e303f6d156afdb6.zip |
Allow `Application` configuration with `Settings`
Diffstat (limited to 'examples/todos.rs')
-rw-r--r-- | examples/todos.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/todos.rs b/examples/todos.rs index 77013dcc..af8a37a8 100644 --- a/examples/todos.rs +++ b/examples/todos.rs @@ -1,12 +1,12 @@ use iced::{ button, scrollable, text_input, Align, Application, Background, Button, Checkbox, Color, Column, Command, Container, Element, Font, - HorizontalAlignment, Length, Row, Scrollable, Text, TextInput, + HorizontalAlignment, Length, Row, Scrollable, Settings, Text, TextInput, }; use serde::{Deserialize, Serialize}; pub fn main() { - Todos::run() + Todos::run(Settings::default()) } #[derive(Debug)] |