mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-25 06:52:35 +01:00
change: Remove verification icon from user bottom sheet
This commit is contained in:
parent
a52b7e8f16
commit
6c58a55bef
@ -179,28 +179,6 @@ class UserBottomSheet extends StatelessWidget {
|
||||
),
|
||||
title: Text(user.calcDisplayname()),
|
||||
actions: [
|
||||
if (verificationStatus != null)
|
||||
IconButton(
|
||||
icon: Icon(
|
||||
Icons.lock_outlined,
|
||||
color: {
|
||||
UserVerifiedStatus.unknownDevice: Colors.red,
|
||||
UserVerifiedStatus.verified: Colors.green,
|
||||
}[verificationStatus] ??
|
||||
Colors.orange,
|
||||
),
|
||||
tooltip: {
|
||||
UserVerifiedStatus.unknownDevice:
|
||||
L10n.of(context).userNotVerified,
|
||||
UserVerifiedStatus.verified:
|
||||
L10n.of(context).userVerified,
|
||||
}[verificationStatus] ??
|
||||
L10n.of(context).userUnknownVerification,
|
||||
onPressed: () =>
|
||||
verificationStatus == UserVerifiedStatus.unknown
|
||||
? _verifyAction(context)
|
||||
: null,
|
||||
),
|
||||
if (user.id != user.room.client.userID)
|
||||
PopupMenuButton(
|
||||
itemBuilder: (_) => items,
|
||||
|
Loading…
Reference in New Issue
Block a user