diff options
author | 2024-03-17 14:16:38 +0100 | |
---|---|---|
committer | 2024-03-17 14:19:12 +0100 | |
commit | 54f44754eb216d4b2c08cd2a7c3582f1dc295205 (patch) | |
tree | 9f4a999ad92c62a1cf4df4559ff320fda83577c1 /examples/system_information | |
parent | 7e1ef7d150aa3d4d05942eea2706348f20d61d64 (diff) | |
download | iced-54f44754eb216d4b2c08cd2a7c3582f1dc295205.tar.gz iced-54f44754eb216d4b2c08cd2a7c3582f1dc295205.tar.bz2 iced-54f44754eb216d4b2c08cd2a7c3582f1dc295205.zip |
Move `Program` to `application` module
Diffstat (limited to 'examples/system_information')
-rw-r--r-- | examples/system_information/src/main.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/examples/system_information/src/main.rs b/examples/system_information/src/main.rs index 75a4d8d6..a6ac27a6 100644 --- a/examples/system_information/src/main.rs +++ b/examples/system_information/src/main.rs @@ -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)] |