fix typos

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-05 11:35:47 +08:00
parent b4a46133be
commit ea52dd4484
51 changed files with 162 additions and 162 deletions

View File

@@ -23,7 +23,7 @@ class MineController
extends CommonDataController<FavFolderData, FavFolderData> {
AccountService accountService = Get.find<AccountService>();
int? favFoldercount;
int? favFolderCount;
// 用户信息 头像、昵称、lv
Rx<UserInfoData> userInfo = UserInfoData().obs;
@@ -135,7 +135,7 @@ class MineController
@override
bool customHandleResponse(bool isRefresh, Success<FavFolderData> response) {
favFoldercount = response.response.count;
favFolderCount = response.response.count;
loadingState.value = response;
return true;
}

View File

@@ -224,7 +224,7 @@ class _MediaPageState extends CommonPageState<MinePage, MineController>
fontSize: theme.textTheme.titleMedium!.fontSize,
fontWeight: FontWeight.bold,
);
final lebelStyle = theme.textTheme.labelMedium!.copyWith(
final labelStyle = theme.textTheme.labelMedium!.copyWith(
color: theme.colorScheme.outline,
);
final coinLabelStyle = TextStyle(
@@ -378,21 +378,21 @@ class _MediaPageState extends CommonPageState<MinePage, MineController>
count: userStat.dynamicCount,
countStyle: style,
name: '动态',
lebelStyle: lebelStyle,
labelStyle: labelStyle,
onTap: () => controller.push('memberDynamics'),
),
_btn(
count: userStat.following,
countStyle: style,
name: '关注',
lebelStyle: lebelStyle,
labelStyle: labelStyle,
onTap: () => controller.push('follow'),
),
_btn(
count: userStat.follower,
countStyle: style,
name: '粉丝',
lebelStyle: lebelStyle,
labelStyle: labelStyle,
onTap: () => controller.push('fan'),
),
],
@@ -406,7 +406,7 @@ class _MediaPageState extends CommonPageState<MinePage, MineController>
required int? count,
required TextStyle countStyle,
required String name,
required TextStyle? lebelStyle,
required TextStyle? labelStyle,
required VoidCallback onTap,
}) {
return Flexible(
@@ -428,7 +428,7 @@ class _MediaPageState extends CommonPageState<MinePage, MineController>
const SizedBox(height: 4),
Text(
name,
style: lebelStyle,
style: labelStyle,
),
],
),
@@ -465,9 +465,9 @@ class _MediaPageState extends CommonPageState<MinePage, MineController>
fontWeight: FontWeight.bold,
),
),
if (controller.favFoldercount != null)
if (controller.favFolderCount != null)
TextSpan(
text: "${controller.favFoldercount} ",
text: "${controller.favFolderCount} ",
style: TextStyle(
fontSize: theme.textTheme.titleSmall!.fontSize,
color: secondary,
@@ -508,7 +508,7 @@ class _MediaPageState extends CommonPageState<MinePage, MineController>
if (favFolderList == null || favFolderList.isEmpty) {
return const SizedBox.shrink();
}
bool flag = (controller.favFoldercount ?? 0) > favFolderList.length;
bool flag = (controller.favFolderCount ?? 0) > favFolderList.length;
return SizedBox(
height: 200,
child: ListView.separated(