mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-17 14:30:40 +01:00
fix: Missing null checks in chat details view
This commit is contained in:
parent
18ebdc4602
commit
c275c6a1c6
@ -225,8 +225,9 @@ class ChatDetailsView extends StatelessWidget {
|
||||
title: Text(L10n.of(context)!
|
||||
.whoIsAllowedToJoinThisGroup),
|
||||
subtitle: Text(
|
||||
room.joinRules!.getLocalizedString(
|
||||
MatrixLocals(L10n.of(context)!)),
|
||||
room.joinRules?.getLocalizedString(
|
||||
MatrixLocals(L10n.of(context)!)) ??
|
||||
L10n.of(context)!.none,
|
||||
),
|
||||
),
|
||||
),
|
||||
@ -276,8 +277,9 @@ class ChatDetailsView extends StatelessWidget {
|
||||
title: Text(L10n.of(context)!
|
||||
.visibilityOfTheChatHistory),
|
||||
subtitle: Text(
|
||||
room.historyVisibility!.getLocalizedString(
|
||||
MatrixLocals(L10n.of(context)!)),
|
||||
room.historyVisibility?.getLocalizedString(
|
||||
MatrixLocals(L10n.of(context)!)) ??
|
||||
L10n.of(context)!.none,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user