opt: check fav attr

This commit is contained in:
bggRGjQaUbCoE
2024-10-24 11:58:20 +08:00
parent af7b242a85
commit e2d342cc96
3 changed files with 11 additions and 13 deletions

View File

@@ -210,7 +210,7 @@ class _MemberFavoriteState extends State<MemberFavorite>
),
subtitle: Text(
item1.type == 0
? '${item1.mediaCount}个内容'
? '${item1.mediaCount}个内容 · ${Utils.isPublic(item1.attr ?? 0) ? '公开' : '私密'}'
: item1.type == 11
? '${item1.mediaCount}个内容 · ${item1.upper?.name}'
: item1.type == 21