1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-28 02:37:16 +00:00

Updated search suggestions on change search only

This commit is contained in:
M66B 2020-01-15 12:07:22 +01:00
parent 5d3ee76c3f
commit 7997ee74c5

View file

@ -49,6 +49,9 @@ public class SearchViewEx extends SearchView {
setOnQueryTextListener(new SearchView.OnQueryTextListener() { setOnQueryTextListener(new SearchView.OnQueryTextListener() {
@Override @Override
public boolean onQueryTextChange(String newText) { public boolean onQueryTextChange(String newText) {
if (newText.equals(_searching))
return true;
_searching = newText; _searching = newText;
intf.onSave(_searching); intf.onSave(_searching);