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