closer near bottom

This commit is contained in:
Diogo committed 2024-09-29 21:49:52 +01:00
1 parent 3da5d5ca64
commit 0f2c0bdacd
1 file changed
+2 -2
@@ -1362,8 +1362,8 @@ fun BoxWithConstraintsScope.FloatingButtons(
elapsedOffset += it.size
}
}
isNearBottom = (visibleItemsInfo.firstOrNull()?.index ?: 0) < nearBottomIndex
isNearBottom = (visibleItemsInfo.firstOrNull()?.index ?: 0) <= nearBottomIndex
}
}