mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: remove repetitive words (#4992)
Signed-off-by: crazeteam <lilujing@outlook.com>
This commit is contained in:
@ -589,7 +589,7 @@ GoRoute _rootRoute(Widget child) {
|
||||
return GoRoute(
|
||||
path: '/',
|
||||
redirect: (context, state) async {
|
||||
// Every time before navigating to splash screen, we check if user is already logged in in desktop. It is used to skip showing splash screen when user just changes apperance settings like theme mode.
|
||||
// Every time before navigating to splash screen, we check if user is already logged in desktop. It is used to skip showing splash screen when user just changes apperance settings like theme mode.
|
||||
final userResponse = await getIt<AuthService>().getUser();
|
||||
final routeName = userResponse.fold(
|
||||
(user) => DesktopHomeScreen.routeName,
|
||||
|
Reference in New Issue
Block a user