mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 08:15:16 +00:00
Add references support
This commit is contained in:
@ -43,7 +43,8 @@ class TextWidget extends StatelessWidget {
|
||||
}
|
||||
|
||||
/// Sub parse function
|
||||
List<InlineSpan> _parseLinks(BuildContext context, String text, TextStyle style) {
|
||||
List<InlineSpan> _parseLinks(
|
||||
BuildContext context, String text, TextStyle style) {
|
||||
var buff = StringBuffer();
|
||||
final list = new List<InlineSpan>();
|
||||
|
||||
@ -79,8 +80,8 @@ class TextWidget extends StatelessWidget {
|
||||
buff.write(" ");
|
||||
}
|
||||
|
||||
// Check if it is a user reference
|
||||
else if(validateUserReference(word)) {
|
||||
// Check if it is a directory reference
|
||||
else if (validateDirectoryReference(word)) {
|
||||
changeWordType();
|
||||
|
||||
list.add(
|
||||
|
Reference in New Issue
Block a user