Soru/moor
This commit is contained in:
parent
79a306351e
commit
f594c7005d
55 changed files with 1034 additions and 1133 deletions
|
|
@ -67,7 +67,8 @@ class _EncryptionButtonState extends State<EncryptionButton> {
|
|||
builder: (BuildContext context, snapshot) {
|
||||
Color color;
|
||||
if (widget.room.encrypted && snapshot.hasData) {
|
||||
final List<DeviceKeys> deviceKeysList = snapshot.data;
|
||||
var data = snapshot.data;
|
||||
final deviceKeysList = data;
|
||||
color = Colors.orange;
|
||||
if (deviceKeysList.indexWhere((DeviceKeys deviceKeys) =>
|
||||
deviceKeys.verified == false &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue