An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
Rust androidanydeskdartflatpakflutterflutter-appsioslinuxmacosp2prdpremote-controlremote-desktoprustrust-langteamviewervncwaylandwindows
fix: build web (#9259)
fufesou5f2901686175
diff --git a/flutter/lib/mobile/pages/connection_page.dart b/flutter/lib/mobile/pages/connection_page.dartindex 9fcef8e3f..c6e812389 100644--- a/flutter/lib/mobile/pages/connection_page.dart+++ b/flutter/lib/mobile/pages/connection_page.dart@@ -249,6 +249,9 @@ class _ConnectionPageState extends State<ConnectionPage> {),),inputFormatters: [IDTextInputFormatter()],+ onSubmitted: (_) {+ onConnect();+ },);},onSelected: (option) {diff --git a/flutter/lib/mobile/pages/home_page.dart b/flutter/lib/mobile/pages/home_page.dartindex 0db7a2b91..d26d91685 100644--- a/flutter/lib/mobile/pages/home_page.dart+++ b/flutter/lib/mobile/pages/home_page.dart@@ -46,10 +46,11 @@ class HomePageState extends State<HomePage> {void initPages() {_pages.clear();- if (!bind.isIncomingOnly())+ if (!bind.isIncomingOnly()) {_pages.add(ConnectionPage(appBarActions: [],));+ }if (isAndroid && !bind.isOutgoingOnly()) {_chatPageTabIndex = _pages.length;_pages.addAll([ChatPage(type: ChatPageType.mobileMain), ServerPage()]);diff --git a/flutter/lib/web/bridge.dart b/flutter/lib/web/bridge.dartindex 8805831bc..d1b777dd1 100644--- a/flutter/lib/web/bridge.dart+++ b/flutter/lib/web/bridge.dart@@ -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,