web file transfer (#9587)

Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
21pages
2024-10-12 09:03:13 +08:00
committed by GitHub
parent 29b01e9cef
commit eb1ef0969c
9 changed files with 411 additions and 194 deletions

View File

@@ -390,6 +390,10 @@ class FfiModel with ChangeNotifier {
handleFollowCurrentDisplay(evt, sessionId, peerId);
} else if (name == 'use_texture_render') {
_handleUseTextureRender(evt, sessionId, peerId);
} else if (name == "selected_files") {
if (isWeb) {
parent.target?.fileModel.onSelectedFiles(evt);
}
} else {
debugPrint('Event is not handled in the fixed branch: $name');
}