Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-27 20:54:41 +08:00
parent 25acf3a9bb
commit b51c646415
227 changed files with 768 additions and 764 deletions

View File

@@ -106,7 +106,7 @@ class _FollowChildPageState extends State<FollowChildPage>
itemCount: 12,
itemBuilder: (context, index) => const MsgFeedTopSkeleton(),
),
Success(:var response) =>
Success(:final response) =>
response != null && response.isNotEmpty
? SliverList.builder(
itemCount: response.length,
@@ -127,7 +127,7 @@ class _FollowChildPageState extends State<FollowChildPage>
},
)
: HttpError(onReload: _followController.onReload),
Error(:var errMsg) => HttpError(
Error(:final errMsg) => HttpError(
errMsg: errMsg,
onReload: _followController.onReload,
),
@@ -139,7 +139,7 @@ class _FollowChildPageState extends State<FollowChildPage>
LoadingState<List<FollowItemModel>?> state,
) {
return switch (state) {
Success(:var response) =>
Success(:final response) =>
response != null && response.isNotEmpty
? SliverMainAxisGroup(
slivers: [

View File

@@ -40,7 +40,7 @@ class FollowController extends GetxController with GetTickerProviderStateMixin {
}
Future<void> queryFollowUpTags() async {
var res = await MemberHttp.followUpTags();
final res = await MemberHttp.followUpTags();
if (res.isSuccess) {
tabs
..assign(MemberTagItemModel(name: '全部关注'))