代码优化

This commit is contained in:
DelLevin-Home
2026-06-30 17:51:39 +08:00
parent 9430524378
commit 622e534b84
9 changed files with 34 additions and 1233 deletions

View File

@@ -67,7 +67,6 @@ class _ProfilePageState extends State<ProfilePage> with RouteAware {
Future<void> _loadUserData() async {
try {
await UserPrefs.init();
setState(() {
_nickname = _userPrefs.nickname;
_motto = _userPrefs.motto;