Move Program to application module
This commit is contained in:
parent
7e1ef7d150
commit
54f44754eb
29 changed files with 58 additions and 80 deletions
|
|
@ -5,7 +5,7 @@ use iced::window;
|
|||
use iced::{Alignment, Command, Element, Length, Subscription};
|
||||
|
||||
pub fn main() -> iced::Result {
|
||||
iced::application("Events - Iced", Events::update, Events::view)
|
||||
iced::program("Events - Iced", Events::update, Events::view)
|
||||
.subscription(Events::subscription)
|
||||
.exit_on_close_request(false)
|
||||
.run()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue