mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-12-26 12:58:51 +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