diff --git a/lib/widgets/unauthorized_hint.dart b/lib/widgets/unauthorized_hint.dart index ca10e30..9d4ea5a 100644 --- a/lib/widgets/unauthorized_hint.dart +++ b/lib/widgets/unauthorized_hint.dart @@ -40,6 +40,7 @@ class UnauthorizedHint extends StatelessWidget { GoRouter.of(context).pushNamed('authLogin').then((value) { if (value == true && context.mounted) { final ua = context.read(); + ua.refreshUser(); context.showSnackbar('loginSuccess'.tr(args: [ '@${ua.user?.name} (${ua.user?.nick})', ]));