fix: 只有时间的评论区不高亮
This commit is contained in:
@ -544,7 +544,9 @@ InlineSpan buildContent(
|
|||||||
content.atNameToMid.isEmpty &&
|
content.atNameToMid.isEmpty &&
|
||||||
content.jumpUrl.isEmpty &&
|
content.jumpUrl.isEmpty &&
|
||||||
content.vote.isEmpty &&
|
content.vote.isEmpty &&
|
||||||
content.pictures.isEmpty) {
|
content.pictures.isEmpty &&
|
||||||
|
content.message.isNotEmpty &&
|
||||||
|
!RegExp(r'\b[0-9]{1,2}[::][0-9]{2}\b').hasMatch(content.message)) {
|
||||||
return TextSpan(
|
return TextSpan(
|
||||||
text: content.message,
|
text: content.message,
|
||||||
recognizer: TapGestureRecognizer()
|
recognizer: TapGestureRecognizer()
|
||||||
|
|||||||
Reference in New Issue
Block a user