Make Text in bubbles selectable
This commit is contained in:
parent
b9424a9f4a
commit
97f6143b74
@ -17,7 +17,7 @@ class RichObjectStringProcessor {
|
||||
}
|
||||
|
||||
static Future<Widget> parseAnyToWidget(String message, Map<String, RichObjectString>? data) async {
|
||||
if(data == null) return Text(message);
|
||||
if(data == null) return SelectableText(message);
|
||||
if(!message.contains(RegExp("{file}"))) return Text(parseTextPreview(message, data));
|
||||
|
||||
SharedPreferences preferences = await SharedPreferences.getInstance();
|
||||
|
Loading…
x
Reference in New Issue
Block a user