mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 21:34:44 +02:00
Refactoring
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user