Show folder icon with world above on the left side of any folder that is publicity shared

This commit is contained in:
jabarros 2014-07-07 10:10:18 +02:00
parent 19e0f950e0
commit 42946bcc6d

View file

@ -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()) {