feat: New spaces and chat list design

This commit is contained in:
krille-chan 2024-07-14 16:49:46 +02:00
commit 5c23453e66
No known key found for this signature in database
17 changed files with 1237 additions and 1549 deletions

View file

@ -92,12 +92,8 @@ abstract class AppRoutes {
FluffyThemes.isColumnMode(context) &&
state.fullPath?.startsWith('/rooms/settings') == false
? TwoColumnLayout(
displayNavigationRail:
state.path?.startsWith('/rooms/settings') != true,
mainView: ChatList(
activeChat: state.pathParameters['roomid'],
displayNavigationRail:
state.path?.startsWith('/rooms/settings') != true,
),
sideView: child,
)
@ -175,7 +171,6 @@ abstract class AppRoutes {
? TwoColumnLayout(
mainView: const Settings(),
sideView: child,
displayNavigationRail: false,
)
: child,
),