Allow to press enter to search

This commit is contained in:
ByteHamster 2019-09-02 00:15:54 +02:00
parent 8b07cd9052
commit a08105df2b
1 changed files with 2 additions and 5 deletions

View File

@ -70,11 +70,8 @@ public class AddFeedFragment extends Fragment {
combinedFeedSearchBox = root.findViewById(R.id.combinedFeedSearchBox); combinedFeedSearchBox = root.findViewById(R.id.combinedFeedSearchBox);
combinedFeedSearchBox.setOnEditorActionListener((v, actionId, event) -> { combinedFeedSearchBox.setOnEditorActionListener((v, actionId, event) -> {
if (actionId == EditorInfo.IME_ACTION_SEARCH) { performSearch();
performSearch(); return true;
return true;
}
return false;
}); });
} }