Fix http search bug

This commit is contained in:
jmdouglas 2020-05-13 23:47:58 +02:00
parent f29c810284
commit 458a7f7d72

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;
}