chore: Enhance invitiation UX

This commit is contained in:
Christian Pauly 2022-07-08 10:55:07 +02:00
commit 378a0b9781
4 changed files with 26 additions and 9 deletions

View file

@ -180,11 +180,12 @@ class _ChatListViewBodyState extends State<ChatListViewBody> {
.onSecondaryContainer,
),
title: Text(
Matrix.of(context)
.client
.encryption!
.keyManager
.enabled
(Matrix.of(context)
.client
.encryption
?.keyManager
.enabled ==
true)
? L10n.of(context)!.unlockOldMessages
: L10n.of(context)!.enableAutoBackups,
style: TextStyle(