添加wiki

This commit is contained in:
DelLevin-Home
2026-06-03 18:42:32 +08:00
parent f2842afd32
commit ea7381d0bc
19 changed files with 1431 additions and 7 deletions

View File

@@ -291,8 +291,9 @@ class _NoteDetailPageState extends State<NoteDetailPage> {
(n) => n.id == widget.note.id,
orElse: () => widget.note,
);
final provider = context.read<AppProvider>();
Navigator.pushNamed(context, '/note-form', arguments: currentNote).then((_) async {
await context.read<AppProvider>().loadNotes();
await provider.loadNotes();
});
}