mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-02 16:14:21 +01:00
change: Encrypted by design, all users valid is normal not green
This commit is contained in:
parent
eb429267b1
commit
86af401cfc
@ -91,9 +91,8 @@ class _EncryptionButtonState extends State<EncryptionButton> {
|
||||
oneUserInvalid = true;
|
||||
}
|
||||
}
|
||||
color = oneUserInvalid
|
||||
? Colors.red
|
||||
: (allUsersValid ? Colors.green : Colors.orange);
|
||||
if (oneUserInvalid) color = Colors.red;
|
||||
if (!allUsersValid) color = Colors.orange;
|
||||
} else if (!widget.room.encrypted &&
|
||||
widget.room.joinRules != JoinRules.public) {
|
||||
color = Colors.red;
|
||||
|
Loading…
Reference in New Issue
Block a user