Merge pull request #4147 from jmdouglas/develop

Fix http search
This commit is contained in:
H. Lehmann 2020-05-14 16:02:09 +02:00 committed by GitHub
commit 571ac6f1d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,7 @@ public class AddFeedFragment extends Fragment {
private void performSearch() {
String query = combinedFeedSearchBox.getText().toString();
if (query.startsWith("http")) {
if (query.matches("http[s]?://.*")) {
addUrl(query);
return;
}