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;
|
oneUserInvalid = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
color = oneUserInvalid
|
if (oneUserInvalid) color = Colors.red;
|
||||||
? Colors.red
|
if (!allUsersValid) color = Colors.orange;
|
||||||
: (allUsersValid ? Colors.green : Colors.orange);
|
|
||||||
} else if (!widget.room.encrypted &&
|
} else if (!widget.room.encrypted &&
|
||||||
widget.room.joinRules != JoinRules.public) {
|
widget.room.joinRules != JoinRules.public) {
|
||||||
color = Colors.red;
|
color = Colors.red;
|
||||||
|
Loading…
Reference in New Issue
Block a user