From ef1f29f90557c8743afda365d7b35b683eb9e452 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 11 Aug 2024 02:07:09 +0800 Subject: [PATCH] :bug: Fix edit post won't rollback thumbnail --- lib/controllers/post_editor_controller.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/controllers/post_editor_controller.dart b/lib/controllers/post_editor_controller.dart index c70379c..c1a57c3 100644 --- a/lib/controllers/post_editor_controller.dart +++ b/lib/controllers/post_editor_controller.dart @@ -208,6 +208,7 @@ class PostEditorController extends GetxController { tags.refresh(); attachments.value = value.body['attachments']?.cast() ?? List.empty(); attachments.refresh(); + thumbnail.value = value.body['thumbnail']; contentLength.value = contentController.text.length; }