mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 06:15:10 +00:00
fix: Missing null check in public room bottom sheet
This commit is contained in:
parent
1a655d6f72
commit
85a868522e
1 changed files with 4 additions and 1 deletions
|
@ -148,7 +148,10 @@ class PublicRoomBottomSheet extends StatelessWidget {
|
|||
const SizedBox(height: 16),
|
||||
ListTile(
|
||||
title: Text(
|
||||
profile?.name ?? chunk!.roomId.localpart ?? '',
|
||||
profile?.name ??
|
||||
roomAlias?.localpart ??
|
||||
chunk?.roomId.localpart ??
|
||||
L10n.of(context)!.chat,
|
||||
),
|
||||
subtitle: Text(
|
||||
'${L10n.of(context)!.participant}: ${profile?.numJoinedMembers ?? 0}',
|
||||
|
|
Loading…
Reference in a new issue