Merge pull request #246 from hecrj/feature/application-flags
Application flags
This commit is contained in:
commit
e79e832092
14 changed files with 119 additions and 63 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue