mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 04:19:21 +01:00
@@ -129,8 +129,9 @@ public class SearchViewEx extends SearchView {
|
||||
@Override
|
||||
public boolean onSuggestionClick(int position) {
|
||||
Cursor cursor = (Cursor) getSuggestionsAdapter().getItem(position);
|
||||
setQuery(cursor.getString(1), true);
|
||||
return false;
|
||||
long id = cursor.getInt(0);
|
||||
setQuery(cursor.getString(1), id != -1);
|
||||
return (id == -1);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user