Browse Source

OC-3047: Hide the file size when the file is a folder

masensio 11 years ago
parent
commit
422f87c57f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/com/owncloud/android/ui/adapter/FileListListAdapter.java

+ 2 - 2
src/com/owncloud/android/ui/adapter/FileListListAdapter.java

@@ -161,8 +161,8 @@ public class FileListListAdapter extends BaseAdapter implements ListAdapter {
             } 
             else {
                 
-                fileSizeV.setVisibility(View.VISIBLE);
-                fileSizeV.setText(DisplayUtils.bytesToHumanReadable(file.getFileLength()));
+                fileSizeV.setVisibility(View.INVISIBLE);
+                //fileSizeV.setText(DisplayUtils.bytesToHumanReadable(file.getFileLength()));
                 lastModV.setVisibility(View.VISIBLE);
                 lastModV.setText(DisplayUtils.unixTimeToHumanReadable(file.getModificationTimestamp()));
                 checkBoxV.setVisibility(View.GONE);