fix: 点赞计数

This commit is contained in:
guozhigq
2024-09-09 00:05:22 +08:00
parent 905d13e674
commit 68caefc0a3

View File

@ -203,9 +203,9 @@ class LikeItem extends StatelessWidget {
Text.rich(TextSpan(children: [
TextSpan(text: nickNameList.join('')),
const TextSpan(text: ' '),
if (item.users!.length > 1)
if (item.counts! > 1)
TextSpan(
text: '等总计${item.users!.length}',
text: '等总计${item.counts}',
style: TextStyle(color: outline),
),
TextSpan(