chore: Better bottom sheets on desktop

This commit is contained in:
krille-chan 2024-12-08 17:39:57 +01:00
commit dea29161c8
No known key found for this signature in database
2 changed files with 33 additions and 24 deletions

View file

@ -92,10 +92,10 @@ class PublicRoomBottomSheet extends StatelessWidget {
chunk?.name ?? roomAlias ?? chunk?.roomId ?? 'Unknown',
overflow: TextOverflow.fade,
),
leading: IconButton(
icon: const Icon(Icons.arrow_downward_outlined),
onPressed: Navigator.of(context, rootNavigator: false).pop,
tooltip: L10n.of(context).close,
leading: Center(
child: CloseButton(
onPressed: Navigator.of(context, rootNavigator: false).pop,
),
),
actions: [
Padding(