android: show selection drag markers only for pinned chats
This commit is contained in:
@@ -599,3 +599,7 @@
|
||||
- `Показать больше / Свернуть` toggle for global users,
|
||||
- `Показать больше / Свернуть` toggle for message 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.
|
||||
|
||||
@@ -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",
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user