This commit is contained in:
2025-01-25 16:55:06 +08:00
parent f5a814cfe4
commit b43d907763

View File

@@ -624,10 +624,14 @@ class RichCommentContent extends StatefulWidget {
class _RichCommentContentState extends State<RichCommentContent> {
var textSpan = <InlineSpan>[];
var images = <_CommentImage>[];
bool isRendered = false;
@override
void didChangeDependencies() {
if (!isRendered) {
render();
isRendered = true;
}
super.didChangeDependencies();
}