Fixing bottom sheet UI bug in non-tablet devices (#182)

* replace the windowInsetsPadding for navigationBarsPadding + statusBarsPadding

* Setting decorFitsSystemWindows = true to fix ui bug on Android 11

(cherry picked from commit 915a9671514b25fdd62912a5154aca221470c8a7)
This commit is contained in:
Theodoro Loureiro mota
2024-01-28 11:31:59 -03:00
committed by Jobobby04
parent 9b8e81a063
commit 67196fb7b6
2 changed files with 5 additions and 10 deletions
@@ -97,5 +97,5 @@ fun AdaptiveSheet(
private val dialogProperties = DialogProperties(
usePlatformDefaultWidth = false,
decorFitsSystemWindows = false,
decorFitsSystemWindows = true,
)