Move Program to application module
This commit is contained in:
parent
7e1ef7d150
commit
54f44754eb
29 changed files with 58 additions and 80 deletions
|
|
@ -2,12 +2,8 @@ use iced::widget::{button, column, container, text};
|
|||
use iced::{system, Command, Element, Length};
|
||||
|
||||
pub fn main() -> iced::Result {
|
||||
iced::application(
|
||||
"System Information - Iced",
|
||||
Example::update,
|
||||
Example::view,
|
||||
)
|
||||
.run()
|
||||
iced::program("System Information - Iced", Example::update, Example::view)
|
||||
.run()
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue