diff --git a/flutter/lib/common.dart b/flutter/lib/common.dart index 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)), ], ));