🐛 Fix some issues on Android and Web

This commit is contained in:
2025-03-23 16:24:53 +08:00
parent 21a1d4a2ad
commit 8dd6435a30
10 changed files with 174 additions and 167 deletions

View File

@ -306,9 +306,7 @@ class _UnauthorizedAccountScreen extends StatelessWidget {
GoRouter.of(context).pushNamed('authLogin').then((value) {
if (value == true && context.mounted) {
final ua = context.read<UserProvider>();
context.showSnackbar('loginSuccess'.tr(args: [
'@${ua.user?.name} (${ua.user?.nick})',
]));
ua.refreshUser();
}
});
},