mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: lint
mod: tweaks opt: publish page Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -33,9 +33,10 @@ class FollowController extends GetxController with GetTickerProviderStateMixin {
|
||||
Future queryFollowUpTags() async {
|
||||
var res = await MemberHttp.followUpTags();
|
||||
if (res['status']) {
|
||||
tabs.clear();
|
||||
tabs.addAll(res['data']);
|
||||
tabs.insert(0, MemberTagItemModel(name: '全部关注'));
|
||||
tabs
|
||||
..clear()
|
||||
..addAll(res['data'])
|
||||
..insert(0, MemberTagItemModel(name: '全部关注'));
|
||||
int initialIndex = 0;
|
||||
if (tabController != null) {
|
||||
initialIndex = tabController!.index.clamp(0, tabs.length - 1);
|
||||
|
||||
Reference in New Issue
Block a user