|
@@ -75,19 +75,4 @@ internal class OCFileListGridItemViewHolder(var binding: GridItemBinding) :
|
|
init {
|
|
init {
|
|
binding.favoriteAction.drawable.mutate()
|
|
binding.favoriteAction.drawable.mutate()
|
|
}
|
|
}
|
|
-
|
|
|
|
- @Suppress("ComplexCondition")
|
|
|
|
- override fun checkVisibilityOfFileFeaturesLayout() {
|
|
|
|
- if (favorite.visibility == View.GONE &&
|
|
|
|
- binding.videoOverlay.visibility == View.GONE &&
|
|
|
|
- shared.visibility == View.GONE &&
|
|
|
|
- unreadComments.visibility == View.GONE &&
|
|
|
|
- localFileIndicator.visibility == View.GONE &&
|
|
|
|
- checkbox.visibility == View.GONE
|
|
|
|
- ) {
|
|
|
|
- fileFeaturesLayout.visibility = View.GONE
|
|
|
|
- } else {
|
|
|
|
- fileFeaturesLayout.visibility = View.VISIBLE
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
}
|
|
}
|