fix desktop dialog request focus

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-01-28 17:10:40 +08:00
parent 3e4a867115
commit 19f04f29c0
3 changed files with 7 additions and 5 deletions

View File

@@ -653,6 +653,7 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
));
}
if (pi.platform != kPeerPlatformAndroid &&
pi.platform != kPeerPlatformMacOS && // unsupport yet
version_cmp(peer_version, '1.2.0') >= 0) {
displayMenu.add(MenuEntryButton<String>(
childBuilder: (TextStyle? style) => Text(