mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-05 12:54:35 +00:00
Add comment to explain jump to bottom button containing box
This commit is contained in:
+2
@@ -430,6 +430,8 @@ private fun BoxScope.TimelineScrollHelper(
|
|||||||
onMarkAsRead = onMarkAllAsRead,
|
onMarkAsRead = onMarkAllAsRead,
|
||||||
testTag = TestTags.jumpToUnreadButton,
|
testTag = TestTags.jumpToUnreadButton,
|
||||||
)
|
)
|
||||||
|
// Reserves space for the jump to bottom button so the jump to unread button above
|
||||||
|
// stays in the same position regardless of whether the jump to bottom button is visible.
|
||||||
Box(modifier = Modifier.size(36.dp)) {
|
Box(modifier = Modifier.size(36.dp)) {
|
||||||
JumpToPositionButton(
|
JumpToPositionButton(
|
||||||
icon = CompoundIcons.ChevronDown(),
|
icon = CompoundIcons.ChevronDown(),
|
||||||
|
|||||||
Reference in New Issue
Block a user