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:
parent
5d3ee76c3f
commit
7997ee74c5
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue