summaryrefslogtreecommitdiffstats
path: root/examples/modal/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/modal/src/main.rs')
-rw-r--r--examples/modal/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/modal/src/main.rs b/examples/modal/src/main.rs
index d185cf3b..413485e7 100644
--- a/examples/modal/src/main.rs
+++ b/examples/modal/src/main.rs
@@ -10,7 +10,7 @@ use iced::{Alignment, Color, Element, Length, Subscription, Task};
use std::fmt;
pub fn main() -> iced::Result {
- iced::program("Modal - Iced", App::update, App::view)
+ iced::application("Modal - Iced", App::update, App::view)
.subscription(App::subscription)
.run()
}