fix: web, switch display (#9307)

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou 2024-09-10 11:29:20 +08:00 committed by GitHub
parent 943f96ef8c
commit 13effe7f14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 7 deletions

View file

@ -391,9 +391,9 @@ class RustdeskImpl {
return Future(() => js.context.callMethod('setByName', [
'switch_display',
jsonEncode({
isDesktop: isDesktop,
sessionId: sessionId.toString(),
value: value
'isDesktop': isDesktop,
'sessionId': sessionId.toString(),
'value': value
})
]));
}