fix: tag changed without saving

This commit is contained in:
lollipopkit
2023-09-06 20:54:17 +08:00
parent f3970b9fb2
commit 806a223e00
7 changed files with 143 additions and 103 deletions

View File

@@ -129,7 +129,7 @@ class _SnippetEditPageState extends State<SnippetEditPage>
_tags = p0;
}),
s: _s,
tagSuggestions: [..._provider.tags],
allTags: [..._provider.tags],
onRenameTag: (old, n) => setState(() {
_provider.renameTag(old, n);
}),