chore: Follow up spaces design

This commit is contained in:
Krille 2024-07-15 16:53:09 +02:00
parent 47d1165b45
commit 1b95694a58
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
2 changed files with 18 additions and 1 deletions

View file

@ -652,7 +652,11 @@ class ChatListController extends State<ChatList>
name: displayname,
),
const SizedBox(width: 12),
Text(displayname),
Text(
displayname,
style:
TextStyle(color: Theme.of(context).colorScheme.onSurface),
),
],
),
),

View file

@ -168,6 +168,19 @@ class ChatListItem extends StatelessWidget {
onTap: () => onLongPress?.call(context),
),
),
if (hovered)
Positioned(
top: -2,
right: -2,
child: Material(
color: backgroundColor,
borderRadius: BorderRadius.circular(16),
child: const Icon(
Icons.arrow_drop_down_circle_outlined,
size: 18,
),
),
),
],
),
),