mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-09-02 11:24:18 +00:00
varname
This commit is contained in:
+2
-2
@@ -1426,8 +1426,8 @@ fun BoxWithConstraintsScope.FloatingButtons(
|
||||
val lastVisibleItem by remember {
|
||||
derivedStateOf {
|
||||
if (lastIndexOfVisibleItems >= 0) {
|
||||
val topVisibleItemIndex = chatItems.value.lastIndex - firstVisibleIndex - lastIndexOfVisibleItems
|
||||
chatItems.value[topVisibleItemIndex]
|
||||
val lastVisibleChatItemIndex = chatItems.value.lastIndex - firstVisibleIndex - lastIndexOfVisibleItems
|
||||
chatItems.value[lastVisibleChatItemIndex]
|
||||
} else {
|
||||
null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user