diff options
Diffstat (limited to 'examples/gradient/src/main.rs')
-rw-r--r-- | examples/gradient/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/gradient/src/main.rs b/examples/gradient/src/main.rs index 6cfe395a..9c48f4b9 100644 --- a/examples/gradient/src/main.rs +++ b/examples/gradient/src/main.rs @@ -8,7 +8,7 @@ use iced::{Alignment, Color, Element, Length, Radians, Theme}; pub fn main() -> iced::Result { tracing_subscriber::fmt::init(); - iced::application("Gradient - Iced", Gradient::update, Gradient::view) + iced::program("Gradient - Iced", Gradient::update, Gradient::view) .style(Gradient::style) .transparent(true) .run() |