remove some pre-edge-to-edge logic

This commit is contained in:
Samuel Newman
2025-05-07 12:42:13 +03:00
parent 66710c9c1f
commit 4e3bb59902
@@ -164,10 +164,6 @@ class BottomSheetView(
when {
// Full height sheets
contentHeight >= screenHeight -> 0.99f
// Medium height sheets (>50% but <100%)
contentHeight >= screenHeight / 2 ->
this.clampRatio(this.getTargetHeight() / screenHeight)
// Small height sheets (<50%)
else ->
this.clampRatio(this.getTargetHeight() / screenHeight)
}