🐛 Fix responsive chat issue

This commit is contained in:
LittleSheep 2024-10-06 11:12:54 +08:00
parent 4036a79995
commit db8f0d63e1

View File

@ -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',