|
|
@ -33,8 +33,9 @@ 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 &&
|
|
|
|
EncryptionHealthState.unverifiedDevices
|
|
|
|
snapshot.data ==
|
|
|
|
|
|
|
|
EncryptionHealthState.unverifiedDevices
|
|
|
|
? Colors.orange
|
|
|
|
? Colors.orange
|
|
|
|
: null),
|
|
|
|
: null),
|
|
|
|
onPressed: () => VRouter.of(context)
|
|
|
|
onPressed: () => VRouter.of(context)
|
|
|
|