fix: Encryption button is orange in public rooms

This commit is contained in:
Krille Fear 2022-12-30 09:00:01 +01:00
parent 99b0ee194c
commit b65357576c

View File

@ -33,7 +33,8 @@ class EncryptionButton extends StatelessWidget {
color: room.joinRules != JoinRules.public &&
!room.encrypted
? Colors.red
: snapshot.data ==
: room.joinRules != JoinRules.public &&
snapshot.data ==
EncryptionHealthState.unverifiedDevices
? Colors.orange
: null),