From: masensio Date: Fri, 21 Feb 2014 13:06:02 +0000 (+0100) Subject: OC-3047: Hide the file size when the file is a folder X-Git-Tag: oc-android-1.5.5~32^2~5 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/422f87c57fef06010d791bf55fd6f9dcd84f87dd OC-3047: Hide the file size when the file is a folder --- diff --git a/src/com/owncloud/android/ui/adapter/FileListListAdapter.java b/src/com/owncloud/android/ui/adapter/FileListListAdapter.java index f31ca142..11449af8 100644 --- a/src/com/owncloud/android/ui/adapter/FileListListAdapter.java +++ b/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);