opt: season fav icon

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-20 10:30:38 +08:00
parent b5207986e7
commit 51337ea184

View File

@@ -288,7 +288,9 @@ class _ListSheetContentState extends State<ListSheetContent>
builder: (_, snapshot) => snapshot.hasData builder: (_, snapshot) => snapshot.hasData
? _mediumButton( ? _mediumButton(
tooltip: _seasonFav == 1 ? '取消订阅' : '订阅', tooltip: _seasonFav == 1 ? '取消订阅' : '订阅',
icon: _seasonFav == 1 ? Icons.alarm_off : Icons.alarm, icon: _seasonFav == 1
? Icons.notifications_off_outlined
: Icons.notifications_active_outlined,
onPressed: () async { onPressed: () async {
dynamic result = await VideoHttp.seasonFav( dynamic result = await VideoHttp.seasonFav(
isFav: _seasonFav == 1, isFav: _seasonFav == 1,