summaryrefslogtreecommitdiffstats
path: root/examples/todos.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/todos.rs')
-rw-r--r--examples/todos.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/todos.rs b/examples/todos.rs
index 2ebbcc7c..5257fc12 100644
--- a/examples/todos.rs
+++ b/examples/todos.rs
@@ -25,6 +25,10 @@ pub enum Message {
impl Application for Todos {
type Message = Message;
+ fn title(&self) -> String {
+ String::from("Todos - Iced")
+ }
+
fn update(&mut self, message: Message) {
match message {
Message::InputChanged(value) => {