mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 00:28:18 +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(
|
_videoHeader(
|
||||||
title: '专栏',
|
title: '专栏',
|
||||||
param: 'contribute',
|
param: 'contribute',
|
||||||
param1: 'article',
|
param1: 'opus',
|
||||||
count: res.article!.count!,
|
count: res.article!.count!,
|
||||||
),
|
),
|
||||||
SliverGrid(
|
SliverGrid(
|
||||||
@@ -256,7 +256,7 @@ class _MemberHomeState extends State<MemberHome>
|
|||||||
int index =
|
int index =
|
||||||
_ctr.tab2!.indexWhere((item) => item.param == param);
|
_ctr.tab2!.indexWhere((item) => item.param == param);
|
||||||
if (index != -1) {
|
if (index != -1) {
|
||||||
if (['video', 'article', 'audio'].contains(param1)) {
|
if (const ['video', 'opus', 'audio'].contains(param1)) {
|
||||||
List<SpaceTabItem> items = _ctr.tab2!
|
List<SpaceTabItem> items = _ctr.tab2!
|
||||||
.firstWhere((item) => item.param == param)
|
.firstWhere((item) => item.param == param)
|
||||||
.items!;
|
.items!;
|
||||||
|
|||||||
Reference in New Issue
Block a user