Comment issue #276 - Only fetch OG when there is only a URL.
This commit is contained in:
parent
7f48b03781
commit
27a67445c9
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue