mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 04:19:21 +01:00
Fixed selecting search suggestion
This commit is contained in:
@@ -79,6 +79,13 @@ public class FragmentDialogSearch extends FragmentDialogBase {
|
||||
}
|
||||
});
|
||||
|
||||
adapter.setCursorToStringConverter(new SimpleCursorAdapter.CursorToStringConverter() {
|
||||
@Override
|
||||
public CharSequence convertToString(Cursor cursor) {
|
||||
return cursor.getString(cursor.getColumnIndex("suggestion"));
|
||||
}
|
||||
});
|
||||
|
||||
etQuery.setAdapter(adapter);
|
||||
|
||||
ibInfo.setOnClickListener(new View.OnClickListener() {
|
||||
|
||||
Reference in New Issue
Block a user