From 5cc79b0919bb25066ba3dd5a5983b7ba730b1349 Mon Sep 17 00:00:00 2001 From: purigarcia Date: Mon, 20 Jul 2015 12:18:44 +0200 Subject: [PATCH] modify for the review --- src/com/owncloud/android/ui/adapter/FileListListAdapter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/com/owncloud/android/ui/adapter/FileListListAdapter.java b/src/com/owncloud/android/ui/adapter/FileListListAdapter.java index ab6ebf1f32..cf9fdca661 100644 --- a/src/com/owncloud/android/ui/adapter/FileListListAdapter.java +++ b/src/com/owncloud/android/ui/adapter/FileListListAdapter.java @@ -233,7 +233,6 @@ public class FileListListAdapter extends BaseAdapter implements ListAdapter { case GRID_IMAGE: // sharedIcon ImageView sharedIconV = (ImageView) view.findViewById(R.id.sharedIcon); - //if (file.isShareByLink() && ((mGridMode && !file.isFolder()) || !mGridMode)) { if (file.isShareByLink()) { sharedIconV.setVisibility(View.VISIBLE); sharedIconV.bringToFront(); @@ -274,7 +273,7 @@ public class FileListListAdapter extends BaseAdapter implements ListAdapter { view.findViewById(R.id.sharedWithMeIcon); sharedWithMeIconV.bringToFront(); if (checkIfFileIsSharedWithMe(file) && - ((mGridMode && !file.isFolder()) || !mGridMode)) { + (!file.isFolder() || !mGridMode)) { sharedWithMeIconV.setVisibility(View.VISIBLE); } else { sharedWithMeIconV.setVisibility(View.GONE);