File tree Expand file tree Collapse file tree
owncloudApp/src/main/java/com/owncloud/android/presentation/files/filelist Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -216,16 +216,14 @@ class FileListAdapter(
216216 text = file.getParentRemotePath()
217217 isVisible = true
218218 }
219- if (fileListOption.isAvailableOffline()) {
220- fileItem.space?.let { space ->
221- it.spacePathLine.spaceIcon.isVisible = true
222- it.spacePathLine.spaceName.isVisible = true
223- if (space.isPersonal) {
224- it.spacePathLine.spaceIcon.setImageResource(R .drawable.ic_folder)
225- it.spacePathLine.spaceName.setText(R .string.bottom_nav_personal)
226- } else {
227- it.spacePathLine.spaceName.text = space.name
228- }
219+ fileItem.space?.let { space ->
220+ it.spacePathLine.spaceIcon.isVisible = true
221+ it.spacePathLine.spaceName.isVisible = true
222+ if (space.isPersonal) {
223+ it.spacePathLine.spaceIcon.setImageResource(R .drawable.ic_folder)
224+ it.spacePathLine.spaceName.setText(R .string.bottom_nav_personal)
225+ } else {
226+ it.spacePathLine.spaceName.text = space.name
229227 }
230228 }
231229 } else {
You can’t perform that action at this time.
0 commit comments