mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-01-28 01:19:23 +01:00
Fix http search bug
This commit is contained in:
parent
f29c810284
commit
458a7f7d72
@ -98,7 +98,7 @@ public class AddFeedFragment extends Fragment {
|
|||||||
private void performSearch() {
|
private void performSearch() {
|
||||||
String query = combinedFeedSearchBox.getText().toString();
|
String query = combinedFeedSearchBox.getText().toString();
|
||||||
|
|
||||||
if (query.startsWith("http")) {
|
if (query.matches("http[s]?://.*")) {
|
||||||
addUrl(query);
|
addUrl(query);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user