mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-26 20:16:26 +08:00
fix member opus jump
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -160,7 +160,7 @@ class _MemberHomeState extends State<MemberHome>
|
||||
_videoHeader(
|
||||
title: '专栏',
|
||||
param: 'contribute',
|
||||
param1: 'article',
|
||||
param1: 'opus',
|
||||
count: res.article!.count!,
|
||||
),
|
||||
SliverGrid(
|
||||
@@ -256,7 +256,7 @@ class _MemberHomeState extends State<MemberHome>
|
||||
int index =
|
||||
_ctr.tab2!.indexWhere((item) => item.param == param);
|
||||
if (index != -1) {
|
||||
if (['video', 'article', 'audio'].contains(param1)) {
|
||||
if (const ['video', 'opus', 'audio'].contains(param1)) {
|
||||
List<SpaceTabItem> items = _ctr.tab2!
|
||||
.firstWhere((item) => item.param == param)
|
||||
.items!;
|
||||
|
||||
Reference in New Issue
Block a user