diff options
author | 2020-03-31 17:49:56 +0200 | |
---|---|---|
committer | 2020-03-31 17:49:56 +0200 | |
commit | e79e832092385346beec47f63e40f24800c535f8 (patch) | |
tree | c29df36b1987de66a58cfb981c5958d25712d51e /examples/clock | |
parent | 327347501c78a1c8e55a39fe1b5d54d7c2fcbcab (diff) | |
parent | f0ebcc24742aba79cc779a4145a188f2534a5e35 (diff) | |
download | iced-e79e832092385346beec47f63e40f24800c535f8.tar.gz iced-e79e832092385346beec47f63e40f24800c535f8.tar.bz2 iced-e79e832092385346beec47f63e40f24800c535f8.zip |
Merge pull request #246 from hecrj/feature/application-flags
Application flags
Diffstat (limited to 'examples/clock')
-rw-r--r-- | examples/clock/src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/clock/src/main.rs b/examples/clock/src/main.rs index 62acb457..d3a4261b 100644 --- a/examples/clock/src/main.rs +++ b/examples/clock/src/main.rs @@ -23,8 +23,9 @@ enum Message { impl Application for Clock { type Executor = executor::Default; type Message = Message; + type Flags = (); - fn new() -> (Self, Command<Message>) { + fn new(_flags: ()) -> (Self, Command<Message>) { ( Clock { now: chrono::Local::now().into(), |