mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-25 04:45:54 +08:00
feat: audio page (#1518)
* feat: audio page Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me> * opt ui Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me> * impl intro, share, fav Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me> * tweaks Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me> * load prev/next Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me> --------- Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -134,8 +134,14 @@ class HistoryItem extends StatelessWidget {
|
||||
bottom: 8.0,
|
||||
type: PBadgeType.gray,
|
||||
),
|
||||
// 右上角
|
||||
if (item.badge?.isNotEmpty == true)
|
||||
if (item.isFav == 1)
|
||||
const PBadge(
|
||||
text: '已收藏',
|
||||
top: 6.0,
|
||||
right: 6.0,
|
||||
type: PBadgeType.gray,
|
||||
)
|
||||
else if (item.badge?.isNotEmpty == true)
|
||||
PBadge(
|
||||
text: item.badge,
|
||||
top: 6.0,
|
||||
|
||||
Reference in New Issue
Block a user