mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 12:59:21 +00:00
Little optimisation
This commit is contained in:
parent
3bbb09e813
commit
6e96a554ff
@ -76,7 +76,7 @@ class _TextWidgetState extends State<TextWidget> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Check if it is an URL
|
// Check if it is an URL
|
||||||
if (validateUrl(word)) {
|
if (word.startsWith("https://") || word.startsWith("http://")) {
|
||||||
changeWordType();
|
changeWordType();
|
||||||
|
|
||||||
list.add(
|
list.add(
|
||||||
|
Loading…
Reference in New Issue
Block a user