summaryrefslogtreecommitdiff
path: root/app/src/main/java/de/danoeh
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2019-09-02 00:15:54 +0200
committerByteHamster <info@bytehamster.com>2019-09-02 00:15:54 +0200
commita08105df2b12e6a3dc923d524088c9df86321650 (patch)
tree6f91d057b5c35b2735231c09f6d035b49a1cf31b /app/src/main/java/de/danoeh
parent8b07cd9052f00df300581652f36eddfc44fabb3c (diff)
downloadAntennaPod-a08105df2b12e6a3dc923d524088c9df86321650.zip
Allow to press enter to search
Diffstat (limited to 'app/src/main/java/de/danoeh')
-rw-r--r--app/src/main/java/de/danoeh/antennapod/fragment/AddFeedFragment.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/AddFeedFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/AddFeedFragment.java
index 35bcaa76e..3ef010f88 100644
--- a/app/src/main/java/de/danoeh/antennapod/fragment/AddFeedFragment.java
+++ b/app/src/main/java/de/danoeh/antennapod/fragment/AddFeedFragment.java
@@ -70,11 +70,8 @@ public class AddFeedFragment extends Fragment {
combinedFeedSearchBox = root.findViewById(R.id.combinedFeedSearchBox);
combinedFeedSearchBox.setOnEditorActionListener((v, actionId, event) -> {
- if (actionId == EditorInfo.IME_ACTION_SEARCH) {
- performSearch();
- return true;
- }
- return false;
+ performSearch();
+ return true;
});
}