mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 02:16:00 +02:00
combine upload files/folder button (#9643)
* combine upload files/folder button Signed-off-by: 21pages <sunboeasy@gmail.com> * web compress cache Signed-off-by: 21pages <sunboeasy@gmail.com> --------- Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
parent
498b8ba3d6
commit
ce924cc0d3
46 changed files with 201 additions and 42 deletions
|
@ -1209,7 +1209,12 @@ class RustdeskImpl {
|
|||
}
|
||||
|
||||
Future<String> mainLoadAb({dynamic hint}) {
|
||||
return Future(() => js.context.callMethod('getByName', ['load_ab']));
|
||||
Completer<String> completer = Completer();
|
||||
js.context["onLoadAbFinished"] = (String s) {
|
||||
completer.complete(s);
|
||||
};
|
||||
js.context.callMethod('setByName', ['load_ab']);
|
||||
return completer.future;
|
||||
}
|
||||
|
||||
Future<void> mainSaveGroup({required String json, dynamic hint}) {
|
||||
|
@ -1222,7 +1227,12 @@ class RustdeskImpl {
|
|||
}
|
||||
|
||||
Future<String> mainLoadGroup({dynamic hint}) {
|
||||
return Future(() => js.context.callMethod('getByName', ['load_group']));
|
||||
Completer<String> completer = Completer();
|
||||
js.context["onLoadGroupFinished"] = (String s) {
|
||||
completer.complete(s);
|
||||
};
|
||||
js.context.callMethod('setByName', ['load_group']);
|
||||
return completer.future;
|
||||
}
|
||||
|
||||
Future<void> sessionSendPointer(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue