mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-25 10:50:40 +01:00
Merge branch 'krille/fix-null-checks' into 'main'
fix: Missing null checks in chat details view See merge request famedly/fluffychat!968
This commit is contained in:
commit
4571e476c0
@ -225,8 +225,9 @@ class ChatDetailsView extends StatelessWidget {
|
|||||||
title: Text(L10n.of(context)!
|
title: Text(L10n.of(context)!
|
||||||
.whoIsAllowedToJoinThisGroup),
|
.whoIsAllowedToJoinThisGroup),
|
||||||
subtitle: Text(
|
subtitle: Text(
|
||||||
room.joinRules!.getLocalizedString(
|
room.joinRules?.getLocalizedString(
|
||||||
MatrixLocals(L10n.of(context)!)),
|
MatrixLocals(L10n.of(context)!)) ??
|
||||||
|
L10n.of(context)!.none,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -276,8 +277,9 @@ class ChatDetailsView extends StatelessWidget {
|
|||||||
title: Text(L10n.of(context)!
|
title: Text(L10n.of(context)!
|
||||||
.visibilityOfTheChatHistory),
|
.visibilityOfTheChatHistory),
|
||||||
subtitle: Text(
|
subtitle: Text(
|
||||||
room.historyVisibility!.getLocalizedString(
|
room.historyVisibility?.getLocalizedString(
|
||||||
MatrixLocals(L10n.of(context)!)),
|
MatrixLocals(L10n.of(context)!)) ??
|
||||||
|
L10n.of(context)!.none,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user