Merge branch 'fix'

This commit is contained in:
guozhigq
2024-07-17 23:38:18 +08:00
3 changed files with 7 additions and 5 deletions

View File

@ -66,7 +66,7 @@ class PBadge extends StatelessWidget {
border: Border.all(color: borderColor),
),
child: Text(
text!,
text ?? '',
style: TextStyle(fontSize: fs ?? fontSize, color: color),
),
);

View File

@ -236,9 +236,11 @@ class FavFolderItem extends StatelessWidget {
return Container(
margin: EdgeInsets.only(left: index == 0 ? 20 : 0, right: 14),
child: GestureDetector(
onTap: () => Get.toNamed('/favDetail',
arguments: item,
parameters: {'mediaId': item!.id.toString(), 'heroTag': heroTag}),
onTap: () => Get.toNamed('/favDetail', arguments: item, parameters: {
'mediaId': item!.id.toString(),
'heroTag': heroTag,
'isOwner': '1',
}),
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,

View File

@ -209,7 +209,7 @@ class LikeItem extends StatelessWidget {
style: TextStyle(color: outline),
),
TextSpan(
text: '赞了我的评论',
text: '赞了我的${item.item!.business}',
style: TextStyle(color: outline),
),
])),