parent
a529b14f2d
commit
435e774964
@ -652,8 +652,7 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
|
|||||||
dismissOnClicked: true,
|
dismissOnClicked: true,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
if (false &&
|
if (pi.platform != kPeerPlatformAndroid &&
|
||||||
pi.platform != kPeerPlatformAndroid &&
|
|
||||||
version_cmp(peer_version, '1.2.0') >= 0) {
|
version_cmp(peer_version, '1.2.0') >= 0) {
|
||||||
displayMenu.add(MenuEntryButton<String>(
|
displayMenu.add(MenuEntryButton<String>(
|
||||||
childBuilder: (TextStyle? style) => Text(
|
childBuilder: (TextStyle? style) => Text(
|
||||||
|
@ -1583,6 +1583,7 @@ impl Connection {
|
|||||||
uuid.to_string().as_ref(),
|
uuid.to_string().as_ref(),
|
||||||
])
|
])
|
||||||
.ok();
|
.ok();
|
||||||
|
self.on_close_manually("switch sides", "peer");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user