🐛 Bug fixes

This commit is contained in:
2024-08-01 16:09:09 +08:00
parent c41a71388d
commit 47d03ce1e5
2 changed files with 9 additions and 6 deletions

View File

@ -93,6 +93,7 @@ class _PostPublishScreenState extends State<PostPublishScreen> {
}
void cancelAction() {
_editorController.localClear();
AppRouter.instance.pop();
}
@ -104,6 +105,7 @@ class _PostPublishScreenState extends State<PostPublishScreen> {
@override
void initState() {
super.initState();
if (widget.edit == null) _editorController.localRead();
_editorController.contentController.addListener(() => setState(() {}));
_syncWidget();
}