feat: enable basic autosaving
This commit is contained in:
parent
cf9b557446
commit
d0a084c60c
1 changed files with 4 additions and 0 deletions
|
@ -96,4 +96,8 @@ impl eframe::App for ToDooDooApp {
|
||||||
ui.add_sized(ui.available_size(), TextEdit::multiline(&mut self.notes));
|
ui.add_sized(ui.available_size(), TextEdit::multiline(&mut self.notes));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn save(&mut self, _storage: &mut dyn eframe::Storage) {
|
||||||
|
self.save();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue