diff options
author | ByteHamster <info@bytehamster.com> | 2020-07-02 22:44:50 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2020-07-02 22:44:50 +0200 |
commit | 65f844fc8329ef8da38eff04beff7021ba8be989 (patch) | |
tree | 7846ed43c0f0b43c060c1f83396f36905cfe6294 /app | |
parent | a7f6af28de52d2023fad84a68634c8ee14e3c597 (diff) | |
download | AntennaPod-65f844fc8329ef8da38eff04beff7021ba8be989.zip |
Allow to select new folder even if current folder is null
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/adapter/DataFolderAdapter.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/adapter/DataFolderAdapter.java b/app/src/main/java/de/danoeh/antennapod/adapter/DataFolderAdapter.java index 2c35d5a64..5848d37f7 100644 --- a/app/src/main/java/de/danoeh/antennapod/adapter/DataFolderAdapter.java +++ b/app/src/main/java/de/danoeh/antennapod/adapter/DataFolderAdapter.java @@ -65,11 +65,7 @@ public class DataFolderAdapter extends RecyclerView.Adapter<DataFolderAdapter.Vi @Override public int getItemCount() { - if (currentPath == null) { - return 0; - } else { - return entries.size(); - } + return entries.size(); } public void setDialog(Dialog dialog) { |