Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

fix change view dropdown not working on macos clicking

Sahil Yeole203891c9579c
diff --git a/flutter/lib/common/widgets/peer_tab_page.dart b/flutter/lib/common/widgets/peer_tab_page.dart
index 4913e5212..7aad7269a 100644
--- a/flutter/lib/common/widgets/peer_tab_page.dart
+++ b/flutter/lib/common/widgets/peer_tab_page.dart
@@ -824,13 +824,14 @@ class _PeerViewDropdownState extends State<PeerViewDropdown> {
setState(() {
menuPos = RelativeRect.fromLTRB(x, y, x, y);
});
+ showMenu(
+ context: context,
+ position: menuPos,
+ items: items,
+ elevation: 8,
+ );
},
- onTap: () => showMenu(
- context: context,
- position: menuPos,
- items: items,
- elevation: 8,
- ),
+ onTap: () => {}
);
}
}