An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
Rust androidanydeskdartflatpakflutterflutter-appsioslinuxmacosp2prdpremote-controlremote-desktoprustrust-langteamviewervncwaylandwindows
use selectableText for some errors (#8862)
21pagesee5314de2004
diff --git a/flutter/lib/common.dart b/flutter/lib/common.dartindex b2d6515b7..054b4df31 100644--- a/flutter/lib/common.dart+++ b/flutter/lib/common.dart@@ -1214,7 +1214,8 @@ Widget msgboxContent(String type, String title, String text) {translate(title),style: TextStyle(fontSize: 21),).marginOnly(bottom: 10),- Text(translateText(text), style: const TextStyle(fontSize: 15)),+ SelectableText(translateText(text),+ style: const TextStyle(fontSize: 15)),],),),@@ -2813,7 +2814,7 @@ Widget buildErrorBanner(BuildContext context,alignment: Alignment.centerLeft,child: Tooltip(message: translate(err.value),- child: Text(+ child: SelectableText(translate(err.value),),)).marginSymmetric(vertical: 2),@@ -3502,7 +3503,7 @@ Widget netWorkErrorWidget() {onPressed: gFFI.userModel.refreshCurrentUser,child: Text(translate("Retry"))).marginSymmetric(vertical: 16),- Text(gFFI.userModel.networkError.value,+ SelectableText(gFFI.userModel.networkError.value,style: TextStyle(fontSize: 11, color: Colors.red)),],));