Allow to select new folder even if current folder is null

This commit is contained in:
ByteHamster 2020-07-02 22:44:50 +02:00
parent a7f6af28de
commit 65f844fc83
1 changed files with 1 additions and 5 deletions

View File

@ -65,11 +65,7 @@ public class DataFolderAdapter extends RecyclerView.Adapter<DataFolderAdapter.Vi
@Override @Override
public int getItemCount() { public int getItemCount() {
if (currentPath == null) { return entries.size();
return 0;
} else {
return entries.size();
}
} }
public void setDialog(Dialog dialog) { public void setDialog(Dialog dialog) {