fix: mobile, chat menu, hide after tapping (#8465)

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou 2024-06-25 00:31:41 +08:00 committed by GitHub
parent 00ddd63372
commit 245f08055f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -569,9 +569,11 @@ class _RemotePageState extends State<RemotePage> {
child: Text(translate(label), style: labelStyle),
trailingIcon: Transform.scale(
scale: (isDesktop || isWebDesktop) ? 0.8 : 1,
child: IconButton(
onPressed: onPressed,
icon: icon,
child: IgnorePointer(
child: IconButton(
onPressed: null,
icon: icon,
),
),
),
onPressed: onPressed,