Skip to content

Commit 0ff3f91

Browse files
committed
fix: file list view
Signed-off-by: alperozturk <[email protected]>
1 parent f127d57 commit 0ff3f91

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)