remove some pre-edge-to-edge logic
This commit is contained in:
@@ -164,10 +164,6 @@ class BottomSheetView(
|
|||||||
when {
|
when {
|
||||||
// Full height sheets
|
// Full height sheets
|
||||||
contentHeight >= screenHeight -> 0.99f
|
contentHeight >= screenHeight -> 0.99f
|
||||||
// Medium height sheets (>50% but <100%)
|
|
||||||
contentHeight >= screenHeight / 2 ->
|
|
||||||
this.clampRatio(this.getTargetHeight() / screenHeight)
|
|
||||||
// Small height sheets (<50%)
|
|
||||||
else ->
|
else ->
|
||||||
this.clampRatio(this.getTargetHeight() / screenHeight)
|
this.clampRatio(this.getTargetHeight() / screenHeight)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user