🐛 Fix edit post won't rollback thumbnail

This commit is contained in:
LittleSheep 2024-08-11 02:07:09 +08:00
parent 22026efa7d
commit ef1f29f905

View File

@ -208,6 +208,7 @@ class PostEditorController extends GetxController {
tags.refresh();
attachments.value = value.body['attachments']?.cast<int>() ?? List.empty();
attachments.refresh();
thumbnail.value = value.body['thumbnail'];
contentLength.value = contentController.text.length;
}