chore: Adjust design

This commit is contained in:
Christian Kußowski 2026-02-14 18:28:36 +01:00
commit 65c3566dbd
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
5 changed files with 106 additions and 96 deletions

View file

@ -49,13 +49,14 @@ class ChatListView extends StatelessWidget {
body: ChatListViewBody(controller),
floatingActionButton:
!controller.isSearchMode && controller.activeSpaceId == null
? FloatingActionButton.extended(
? FloatingActionButton(
backgroundColor: Theme.of(context).colorScheme.primary,
foregroundColor: Theme.of(
context,
).colorScheme.onPrimary,
onPressed: () => context.go('/rooms/newprivatechat'),
icon: const Icon(Icons.add_outlined),
label: Text(
L10n.of(context).chat,
overflow: TextOverflow.fade,
),
tooltip: L10n.of(context).newChat,
child: const Icon(Icons.edit_square),
)
: const SizedBox.shrink(),
),