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
This commit is contained in:
Theodoro Loureiro mota
2024-01-28 11:31:59 -03:00
committed by GitHub
parent 9cc0c4e035
commit 915a967151
2 changed files with 5 additions and 10 deletions

View File

@@ -97,5 +97,5 @@ fun AdaptiveSheet(
private val dialogProperties = DialogProperties(
usePlatformDefaultWidth = false,
decorFitsSystemWindows = false,
decorFitsSystemWindows = true,
)