load old messages

This commit is contained in:
Henry Hiles 2025-11-15 17:10:41 -05:00
commit de561e0b95
No known key found for this signature in database
10 changed files with 130 additions and 73 deletions

View file

@ -29,6 +29,7 @@ class App extends StatelessWidget {
builder: (lightDynamic, darkDynamic) => LayoutBuilder(
builder: (context, constraints) {
final isDesktop = constraints.maxWidth > 650;
final showMembersByDefault = constraints.maxWidth > 1000;
return MaterialApp(
debugShowCheckedModeBanner: false,
@ -47,7 +48,12 @@ class App extends StatelessWidget {
builder: (context) => Row(
children: [
if (isDesktop) Sidebar(),
Expanded(child: RoomChat(isDesktop: isDesktop)),
Expanded(
child: RoomChat(
isDesktop: isDesktop,
showMembersByDefault: showMembersByDefault,
),
),
],
),
),