android: show selection drag markers only for pinned chats
Some checks failed
Android CI / android (push) Has started running
Android Release / release (push) Has been cancelled
CI / test (push) Has started running

This commit is contained in:
Codex
2026-03-09 22:15:04 +03:00
parent 4f53e3ef99
commit 9dff805145
2 changed files with 7 additions and 3 deletions

View File

@@ -1237,10 +1237,10 @@ private fun ChatRow(
if (chat.unreadCount > 0) {
BadgeChip(label = chat.unreadCount.toString())
}
if (isSelecting) {
if (isSelecting && chat.pinned) {
Icon(
imageVector = if (isSelected) Icons.Filled.DoneAll else Icons.Filled.DragHandle,
contentDescription = if (isSelected) "Selected" else "Selectable",
imageVector = Icons.Filled.DragHandle,
contentDescription = "Pinned reorder handle",
)
}
}