Move Program to application module
This commit is contained in:
parent
7e1ef7d150
commit
54f44754eb
29 changed files with 58 additions and 80 deletions
|
|
@ -4,13 +4,9 @@ use iced::widget::{button, column, container, progress_bar, text, Column};
|
|||
use iced::{Alignment, Element, Length, Subscription};
|
||||
|
||||
pub fn main() -> iced::Result {
|
||||
iced::application(
|
||||
"Download Progress - Iced",
|
||||
Example::update,
|
||||
Example::view,
|
||||
)
|
||||
.subscription(Example::subscription)
|
||||
.run()
|
||||
iced::program("Download Progress - Iced", Example::update, Example::view)
|
||||
.subscription(Example::subscription)
|
||||
.run()
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue