Comment issue #276 - Only fetch OG when there is only a URL.

This commit is contained in:
Thomas 2022-07-25 16:01:00 +02:00
parent 7f48b03781
commit 27a67445c9
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ public abstract class BaseMainActivity extends BaseActivity implements NetworkSt
if (matchStart < matchEnd && sharedText.length() >= matchEnd)
url[0] = sharedText.substring(matchStart, matchEnd);
}
if (url[0] != null) {
if (url[0] != null && url[0].length() == sharedText.length()) {
new Thread(() -> {
if (url[0].startsWith("www."))
url[0] = "http://" + url[0];