Do not show full disk icon if cache size is unlimited
This commit is contained in:
parent
edc3c4c08d
commit
0677c70a4d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue