Skip to content

Commit

Permalink
fix: mobile, chat menu, hide after tapping (rustdesk#8465)
Browse files Browse the repository at this point in the history
Signed-off-by: fufesou <[email protected]>
  • Loading branch information
fufesou authored Jun 24, 2024
1 parent 00ddd63 commit 245f080
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions flutter/lib/mobile/pages/remote_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 245f080

Please sign in to comment.