about: prevent ui from being clipped in landscape

Fix an accidental regression in the about UI that caused it to be cut
off it landscape. It will now scroll.
This commit is contained in:
OxygenCobalt
2021-07-29 17:06:30 -06:00
parent 6d9c9f65c2
commit 1a0ff53d67
2 changed files with 133 additions and 130 deletions
@@ -161,8 +161,6 @@ class FastScrollView @JvmOverloads constructor(
// off.
val maxEntries = (height - (binding.scrollThumb.height * 2)) / textHeight
logD("${ceil(indicators.size / maxEntries).toInt()}")
if (indicators.size > maxEntries) {
val truncateInterval = ceil(indicators.size / maxEntries).toInt()