1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-25 22:39:22 +00:00

Little optimisation

This commit is contained in:
Pierre HUBERT 2020-04-16 13:34:49 +02:00
parent 3bbb09e813
commit 6e96a554ff

View File

@ -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(