Do not show full disk icon if cache size is unlimited

This commit is contained in:
Martin Fietz 2016-02-23 20:19:02 +01:00
parent edc3c4c08d
commit 0677c70a4d
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ public class NavListAdapter extends BaseAdapter
int spaceUsed = itemAccess.getNumberOfDownloadedItems() -
itemAccess.getReclaimableItems();
if (spaceUsed >= epCacheSize) {
if (epCacheSize > 0 && spaceUsed >= epCacheSize) {
holder.count.setText("{md-disc-full 150%}");
Iconify.addIcons(holder.count);
holder.count.setVisibility(View.VISIBLE);