From a3266b68fc0c76b0e0767cee1be63384a8564bb3 Mon Sep 17 00:00:00 2001 From: Xinto Date: Sun, 13 Aug 2023 19:58:45 +0400 Subject: [PATCH] draw bottom sheet scrim behind the system bars --- .../mauth/ui/screen/home/component/HomeAddAccountSheet.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/xinto/mauth/ui/screen/home/component/HomeAddAccountSheet.kt b/app/src/main/java/com/xinto/mauth/ui/screen/home/component/HomeAddAccountSheet.kt index d0e3d48..7635b50 100644 --- a/app/src/main/java/com/xinto/mauth/ui/screen/home/component/HomeAddAccountSheet.kt +++ b/app/src/main/java/com/xinto/mauth/ui/screen/home/component/HomeAddAccountSheet.kt @@ -134,7 +134,8 @@ private fun MaterialBottomSheetDialog( } ModalBottomSheet( sheetState = state, - onDismissRequest = onDismissRequest + onDismissRequest = onDismissRequest, + windowInsets = WindowInsets(0) ) { Column( modifier = Modifier.padding(