summaryrefslogtreecommitdiffstats
path: root/examples/checkbox/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/checkbox/src/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/checkbox/src/main.rs b/examples/checkbox/src/main.rs
index ed7b7f3a..c9ee502e 100644
--- a/examples/checkbox/src/main.rs
+++ b/examples/checkbox/src/main.rs
@@ -4,8 +4,7 @@ use iced::{Element, Font, Length};
const ICON_FONT: Font = Font::with_name("icons");
pub fn main() -> iced::Result {
- iced::sandbox(Example::update, Example::view)
- .title("Checkbox - Iced")
+ iced::sandbox("Checkbox - Iced", Example::update, Example::view)
.fonts([include_bytes!("../fonts/icons.ttf").as_slice().into()])
.run()
}