closer near bottom

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