diff --git a/src/com/owncloud/android/ui/adapter/FileListListAdapter.java b/src/com/owncloud/android/ui/adapter/FileListListAdapter.java index 408154acc6..7071ae5771 100644 --- a/src/com/owncloud/android/ui/adapter/FileListListAdapter.java +++ b/src/com/owncloud/android/ui/adapter/FileListListAdapter.java @@ -184,6 +184,12 @@ public class FileListListAdapter extends BaseAdapter implements ListAdapter { } else { fileIcon.setImageResource(DisplayUtils.getResourceId(file.getMimetype(), file.getFileName())); } + + // If folder is sharedByLink, icon folder must be changed to + // folder-public one + if (file.isShareByLink()) { + fileIcon.setImageResource(R.drawable.folder_public); + } } if (file.isShareByLink()) {