fix: Open publicroombottomsheet by alias

This commit is contained in:
krille-chan 2024-01-20 08:51:43 +01:00
parent a7e8ec78ed
commit e50153c2c8
No known key found for this signature in database

View file

@ -82,7 +82,7 @@ class PublicRoomBottomSheet extends StatelessWidget {
child: Scaffold(
appBar: AppBar(
title: Text(
chunk!.name ?? roomAlias ?? chunk!.roomId,
chunk?.name ?? roomAlias ?? chunk?.roomId ?? 'Unknown',
overflow: TextOverflow.fade,
),
leading: IconButton(