mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-25 22:39:22 +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
|
||||
if (validateUrl(word)) {
|
||||
if (word.startsWith("https://") || word.startsWith("http://")) {
|
||||
changeWordType();
|
||||
|
||||
list.add(
|
||||
|
Loading…
Reference in New Issue
Block a user