summaryrefslogtreecommitdiffstats
path: root/examples/layout
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-16 19:14:13 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-16 19:14:13 +0100
commit28a27f08edccd53e06ad693e63b0a62dae921da5 (patch)
treed2a2f51ebc9fddd38771abfbd567522396763468 /examples/layout
parent0a24611ccdb9402f89c88fd5f567b9d26e3533c2 (diff)
downloadiced-28a27f08edccd53e06ad693e63b0a62dae921da5.tar.gz
iced-28a27f08edccd53e06ad693e63b0a62dae921da5.tar.bz2
iced-28a27f08edccd53e06ad693e63b0a62dae921da5.zip
Remove `sandbox` by making `application` more generic :tada:
Diffstat (limited to 'examples/layout')
-rw-r--r--examples/layout/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/layout/src/main.rs b/examples/layout/src/main.rs
index 371f2ae2..e6b521b2 100644
--- a/examples/layout/src/main.rs
+++ b/examples/layout/src/main.rs
@@ -10,7 +10,7 @@ use iced::{
};
pub fn main() -> iced::Result {
- iced::sandbox(Layout::title, Layout::update, Layout::view)
+ iced::application(Layout::title, Layout::update, Layout::view)
.subscription(Layout::subscription)
.theme(Layout::theme)
.run()