Commit 27a67445 authored by Thomas's avatar Thomas
Browse files

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

parent 7f48b037
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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];