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

@@ -599,3 +599,7 @@
- `Показать больше / Свернуть` toggle for global users, - `Показать больше / Свернуть` toggle for global users,
- `Показать больше / Свернуть` toggle for message results. - `Показать больше / Свернуть` toggle for message results.
- Added explicit empty-state text when local/global/message search sections all have no results. - Added explicit empty-state text when local/global/message search sections all have no results.
### Step 94 - Pinned-only drag markers in selection mode
- Updated chats multi-select row UI: drag markers are now shown only for pinned chats.
- Non-pinned chats no longer render reorder marker in selection mode.

View File

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