mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: season fav icon
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user