Merge pull request #3230 from Kingtous/master

fix: window manager called on Android & bugfix etc.
This commit is contained in:
RustDesk 2023-02-16 13:25:38 +08:00 committed by GitHub
commit f21bd44f43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -336,6 +336,9 @@ closeConnection({String? id}) {
}
void window_on_top(int? id) {
if (!isDesktop) {
return;
}
if (id == null) {
// main window
windowManager.restore();

View file

@ -769,7 +769,7 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
: MenuButton(
icon: _getVoiceCallIcon(),
tooltip: translate(tooltipText),
onPressed: () => bind.sessionRequestVoiceCall(id: widget.id),
onPressed: () => bind.sessionCloseVoiceCall(id: widget.id),
color: _MenubarTheme.redColor,
hoverColor: _MenubarTheme.hoverRedColor,
);