mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2025-06-28 20:29:53 +00:00
comments
This commit is contained in:
parent
bfac8bd58a
commit
0a22706d01
2 changed files with 2 additions and 0 deletions
|
@ -66,6 +66,7 @@ object ChatModel {
|
|||
// current chat
|
||||
val chatId = mutableStateOf<String?>(null)
|
||||
val chatItems = mutableStateOf(SnapshotStateList<ChatItem>())
|
||||
// chatItemId, SectionArea
|
||||
val chatItemsSectionArea = mutableMapOf<Long, ChatSectionArea>()
|
||||
// rhId, chatId
|
||||
val deletedChats = mutableStateOf<List<Pair<Long?, String>>>(emptyList())
|
||||
|
|
|
@ -25,6 +25,7 @@ data class ChatSectionAreaBoundary (
|
|||
data class ChatSection (
|
||||
val items: MutableList<SectionItems>,
|
||||
val boundary: ChatSectionAreaBoundary,
|
||||
// chatItemId, index in rendered LazyColumn
|
||||
val itemPositions: MutableMap<Long, Int>
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue