feat: Improved encryption UI
This commit is contained in:
parent
37a822f7b7
commit
f235f9de24
7 changed files with 128 additions and 77 deletions
|
|
@ -166,8 +166,8 @@ class UserBottomSheet extends StatelessWidget {
|
|||
title: Text(user.calcDisplayname()),
|
||||
actions: [
|
||||
if (verificationStatus != null)
|
||||
InkWell(
|
||||
child: Icon(
|
||||
IconButton(
|
||||
icon: Icon(
|
||||
Icons.lock,
|
||||
color: {
|
||||
UserVerifiedStatus.unknownDevice: Colors.red,
|
||||
|
|
@ -175,7 +175,7 @@ class UserBottomSheet extends StatelessWidget {
|
|||
}[verificationStatus] ??
|
||||
Colors.orange,
|
||||
),
|
||||
onTap: () =>
|
||||
onPressed: () =>
|
||||
verificationStatus == UserVerifiedStatus.unknown
|
||||
? _verifyAction(context)
|
||||
: null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue