mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-30 16:29:30 +01:00
fix: Encryption button is orange in public rooms
This commit is contained in:
parent
99b0ee194c
commit
b65357576c
@ -33,7 +33,8 @@ class EncryptionButton extends StatelessWidget {
|
|||||||
color: room.joinRules != JoinRules.public &&
|
color: room.joinRules != JoinRules.public &&
|
||||||
!room.encrypted
|
!room.encrypted
|
||||||
? Colors.red
|
? Colors.red
|
||||||
: snapshot.data ==
|
: room.joinRules != JoinRules.public &&
|
||||||
|
snapshot.data ==
|
||||||
EncryptionHealthState.unverifiedDevices
|
EncryptionHealthState.unverifiedDevices
|
||||||
? Colors.orange
|
? Colors.orange
|
||||||
: null),
|
: null),
|
||||||
|
Loading…
Reference in New Issue
Block a user