change: Encrypted by design, all users valid is normal not green
This commit is contained in:
parent
3a37d41ba6
commit
bd341feef5
1 changed files with 2 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue