Skip to content

Commit 2a50467

Browse files
Merge pull request #16060 from nextcloud/fix/file-list-view
fix: file list view
2 parents f127d57 + 0ff3f91 commit 2a50467

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,8 +502,8 @@ private void bindHolder(@NonNull RecyclerView.ViewHolder holder, ListViewHolder
502502
setVisibilityOfMoreOption(viewHolder);
503503

504504
final var fileFeatureLayout = viewHolder.getFileFeaturesLayout();
505-
if (fileFeatureLayout != null && viewHolder.getHasVisibleFeatureIndicators()) {
506-
fileFeatureLayout.setVisibility(View.VISIBLE);
505+
if (fileFeatureLayout != null) {
506+
ViewExtensionsKt.setVisibleIf(fileFeatureLayout, viewHolder.getHasVisibleFeatureIndicators());
507507
}
508508
}
509509

0 commit comments

Comments
 (0)