From db8f0d63e1274924722400ad5d6391a38afb5930 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 6 Oct 2024 11:12:54 +0800 Subject: [PATCH] :bug: Fix responsive chat issue --- lib/router.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/router.dart b/lib/router.dart index d7eab59..2f5d54e 100644 --- a/lib/router.dart +++ b/lib/router.dart @@ -139,7 +139,8 @@ abstract class AppRouter { ); static final ShellRoute _chatRoute = ShellRoute( - builder: (context, state, child) => ChatListShell(child: child), + builder: (context, state, child) => + AppTheme.isLargeScreen(context) ? ChatListShell(child: child) : child, routes: [ GoRoute( path: '/chat',