This commit is contained in:
lollipopkit
2023-07-07 21:09:29 +08:00
parent bb50fbc589
commit cb16b3a8b6
5 changed files with 122 additions and 116 deletions

View File

@@ -131,6 +131,10 @@ class _SnippetEditPageState extends State<SnippetEditPage>
if (widget.snippet != null) {
_nameController.text = widget.snippet!.name;
_scriptController.text = widget.snippet!.script;
if (widget.snippet!.tags != null) {
_tags = widget.snippet!.tags!;
setState(() {});
}
}
}
}