diff --git a/lib/pages/chat/encryption_button.dart b/lib/pages/chat/encryption_button.dart index 1c4bef33..a7ad5742 100644 --- a/lib/pages/chat/encryption_button.dart +++ b/lib/pages/chat/encryption_button.dart @@ -33,8 +33,9 @@ class EncryptionButton extends StatelessWidget { color: room.joinRules != JoinRules.public && !room.encrypted ? Colors.red - : snapshot.data == - EncryptionHealthState.unverifiedDevices + : room.joinRules != JoinRules.public && + snapshot.data == + EncryptionHealthState.unverifiedDevices ? Colors.orange : null), onPressed: () => VRouter.of(context)