mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
modify for the review
This commit is contained in:
parent
59a9bc8004
commit
5cc79b0919
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue