This commit is contained in:
lollipopkit
2023-07-08 14:18:15 +08:00
parent 0bc176b603
commit 291c737a40
10 changed files with 116 additions and 42 deletions

View File

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