From 859a041af10c44668e7622da4fcf431e397f03a8 Mon Sep 17 00:00:00 2001 From: Avently <7953703+avently@users.noreply.github.com> Date: Fri, 10 Jan 2025 18:36:45 +0700 Subject: [PATCH] rename --- .../kotlin/chat/simplex/common/views/chatlist/ChatListView.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chatlist/ChatListView.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chatlist/ChatListView.kt index d41866f817..4ddf9326f7 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chatlist/ChatListView.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chatlist/ChatListView.kt @@ -928,7 +928,7 @@ private val TAG_MIN_HEIGHT = 35.dp private fun TagsView(searchText: MutableState) { val userTags = remember { chatModel.userTags } val presetTags = remember { chatModel.presetTags } - val collapsedPresetTags = presetTags.filter { presetCanBeCollapsed(it.key) } + val collapsiblePresetTags = presetTags.filter { presetCanBeCollapsed(it.key) } val alwaysShownPresetTags = presetTags.filter { !presetCanBeCollapsed(it.key) } val activeFilter = remember { chatModel.activeChatTagFilter } val unreadTags = remember { chatModel.unreadTags } @@ -937,7 +937,7 @@ private fun TagsView(searchText: MutableState) { val rowSizeModifier = Modifier.sizeIn(minHeight = TAG_MIN_HEIGHT * fontSizeSqrtMultiplier) TagsRow { - if (collapsedPresetTags.size > 1) { + if (collapsiblePresetTags.size > 1) { if (presetTags.size + userTags.value.size <= 3) { PresetTagKind.entries.filter { t -> (presetTags[t] ?: 0) > 0 }.forEach { tag -> ExpandedTagFilterView(tag)