fix: richNode img preview
This commit is contained in:
@ -657,11 +657,13 @@ InlineSpan buildContent(
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (content.atNameToMid.isEmpty && content.jumpUrl.isEmpty) {
|
if (content.atNameToMid.isEmpty && content.jumpUrl.isEmpty) {
|
||||||
spanChilds.add(TextSpan(
|
if (str != '') {
|
||||||
text: str,
|
spanChilds.add(TextSpan(
|
||||||
recognizer: TapGestureRecognizer()
|
text: str,
|
||||||
..onTap = () =>
|
recognizer: TapGestureRecognizer()
|
||||||
replyReply(replyItem.root == 0 ? replyItem : fReplyItem)));
|
..onTap = () =>
|
||||||
|
replyReply(replyItem.root == 0 ? replyItem : fReplyItem)));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return str;
|
return str;
|
||||||
},
|
},
|
||||||
|
|||||||
@ -69,7 +69,7 @@ class _VideoReplyReplyPanelState extends State<VideoReplyReplyPanel> {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
void dispose() {
|
void dispose() {
|
||||||
scrollController.dispose();
|
// scrollController.dispose();
|
||||||
super.dispose();
|
super.dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user