fix level

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-31 12:44:03 +08:00
parent 236a8b3023
commit 11912c5f62

View File

@@ -317,7 +317,7 @@ class _MediaPageState extends CommonPageState<MinePage, MineController>
),
Image.asset(
Utils.levelName(
levelInfo!.currentLevel!,
levelInfo?.currentLevel ?? 0,
isSeniorMember: userInfo.isSeniorMember == 1,
),
height: 10,
@@ -342,11 +342,11 @@ class _MediaPageState extends CommonPageState<MinePage, MineController>
style: coinLabelStyle,
),
TextSpan(
text: levelInfo.currentExp?.toString() ?? '-',
text: levelInfo?.currentExp?.toString() ?? '-',
style: coinValStyle,
),
TextSpan(
text: "/${levelInfo.nextExp ?? '-'}",
text: "/${levelInfo?.nextExp ?? '-'}",
style: coinLabelStyle,
),
],