mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 21:55:48 +03:00
Show folder icon with world above on the left side of any folder that is publicity shared
This commit is contained in:
parent
19e0f950e0
commit
42946bcc6d
1 changed files with 6 additions and 0 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue