diff --git a/vector/src/main/java/im/vector/app/features/spaces/SpaceSummaryItem.kt b/vector/src/main/java/im/vector/app/features/spaces/SpaceSummaryItem.kt index 105cb0dd57..013f7d6db5 100644 --- a/vector/src/main/java/im/vector/app/features/spaces/SpaceSummaryItem.kt +++ b/vector/src/main/java/im/vector/app/features/spaces/SpaceSummaryItem.kt @@ -55,6 +55,7 @@ abstract class SpaceSummaryItem : VectorEpoxyModel() { holder.groupNameView.text = matrixItem.displayName holder.rootView.isChecked = selected if (onMore != null) { + holder.moreView.isVisible = true holder.moreView.setOnClickListener( DebouncedClickListener({ _ -> onMore?.invoke() @@ -66,16 +67,6 @@ abstract class SpaceSummaryItem : VectorEpoxyModel() { holder.secondLineText.setTextOrHide(description) if (hasChildren) { -// holder.collapseIndicator.setOnClickListener( -// DebouncedClickListener({ _ -> -// toggleExpand?.invoke() -// }) -// ) -// when (expanded) { -// null -> { -// holder.collapseIndicator.isGone = true -// } -// else -> { holder.collapseIndicator.isVisible = true holder.collapseIndicator.setImageDrawable( ContextCompat.getDrawable(holder.view.context, @@ -87,8 +78,6 @@ abstract class SpaceSummaryItem : VectorEpoxyModel() { toggleExpand?.invoke() }) ) -// } -// } } else { holder.collapseIndicator.isGone = true }