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), border: Border.all(color: borderColor),
), ),
child: Text( child: Text(
text!, text ?? '',
style: TextStyle(fontSize: fs ?? fontSize, color: color), style: TextStyle(fontSize: fs ?? fontSize, color: color),
), ),
); );

View File

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

View File

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