mod: like message type

This commit is contained in:
guozhigq
2024-12-11 14:10:58 +08:00
parent ca17d74eee
commit 470e70be2b

View File

@ -197,13 +197,13 @@ class LikeItem extends StatelessWidget {
), ),
), ),
const SizedBox(width: 25), const SizedBox(width: 25),
if (type == 'reply' || type == 'danmu') if (type == 'reply' || type == 'danmu' || type == 'dynamic')
Container( Container(
width: 60, width: 60,
height: 60, height: 60,
padding: const EdgeInsets.all(4), padding: const EdgeInsets.all(4),
child: Text( child: Text(
item.item!.title!, item.item?.title ?? '',
maxLines: 4, maxLines: 4,
style: const TextStyle(fontSize: 12, letterSpacing: 0.3), style: const TextStyle(fontSize: 12, letterSpacing: 0.3),
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,