feat: enable basic autosaving

This commit is contained in:
Tobias Berger 2024-01-05 13:16:35 +01:00
parent cf9b557446
commit d0a084c60c
Signed by: toby
GPG key ID: 2D05EFAB764D6A88

View file

@ -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();
}
} }