mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-22 22:21:18 +00:00
Refactoring
This commit is contained in:
parent
72956170b2
commit
1905fbdcf1
1 changed files with 2 additions and 1 deletions
|
@ -166,7 +166,8 @@ public class FragmentDialogSearch extends FragmentDialogBase {
|
|||
adapter.setCursorToStringConverter(new SimpleCursorAdapter.CursorToStringConverter() {
|
||||
@Override
|
||||
public CharSequence convertToString(Cursor cursor) {
|
||||
return cursor.getString(cursor.getColumnIndex("suggestion"));
|
||||
int colSuggestion = cursor.getColumnIndex("suggestion");
|
||||
return cursor.getString(colSuggestion);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue