mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 02:16:00 +02:00
fix: build web (#9259)
1. Web, build. 2. Web and mobile, `onSubmitted` for ID text field. 3. Web, remove unused key 'toggle_option'. Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
parent
e40243b55d
commit
5f29016861
3 changed files with 11 additions and 3 deletions
|
@ -187,7 +187,7 @@ class RustdeskImpl {
|
|||
Future<void> sessionToggleOption(
|
||||
{required UuidValue sessionId, required String value, dynamic hint}) {
|
||||
return Future(
|
||||
() => js.context.callMethod('setByName', ['toggle_option', value]));
|
||||
() => js.context.callMethod('setByName', ['option:toggle', value]));
|
||||
}
|
||||
|
||||
Future<void> sessionTogglePrivacyMode(
|
||||
|
@ -196,7 +196,7 @@ class RustdeskImpl {
|
|||
required bool on,
|
||||
dynamic hint}) {
|
||||
return Future(() => js.context.callMethod('setByName', [
|
||||
'toggle_option',
|
||||
'option:toggle',
|
||||
jsonEncode({implKey, on})
|
||||
]));
|
||||
}
|
||||
|
@ -1704,6 +1704,10 @@ class RustdeskImpl {
|
|||
throw UnimplementedError();
|
||||
}
|
||||
|
||||
int mainMaxEncryptLen({dynamic hint}) {
|
||||
throw UnimplementedError();
|
||||
}
|
||||
|
||||
sessionRenameFile(
|
||||
{required UuidValue sessionId,
|
||||
required int actId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue