fix app crash after refactoring (wrong array access)

This commit is contained in:
David Luhmer 2018-07-28 10:55:18 +02:00
parent 14771eb1a1
commit 6a8862d012

View file

@ -332,7 +332,7 @@ public class NewsReaderListDialogFragment extends DialogFragment{
mFolderList.setOnItemClickListener(new AdapterView.OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
final Folder folder = (Folder) mFolderList.getItemAtPosition(position);
final Folder folder = folders.get(position);
showProgress(true);
setCancelable(false);