Allow to select new folder even if current folder is null
This commit is contained in:
parent
a7f6af28de
commit
65f844fc83
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue