commit | 7df260864cd5fe5b76220787c94ef9c816b9c595 | [log] [tgz] |
---|---|---|
author | Helen Qin <helenqin@google.com> | Thu May 16 16:42:48 2024 +0000 |
committer | Helen Qin <helenqin@google.com> | Tue May 21 11:18:07 2024 +0000 |
tree | 2d108d29ca1410479f24d35657855598e92ec799 | |
parent | 979f56632de5a35f674dd19d090051f72ff2691b [diff] |
Update to latest M3 bottom sheet parameter name Test: N/A Bug: 341073357 Change-Id: I25328dc2dc3143aeb2b5a11e374ece3fd9f4b7cf
diff --git a/packages/CredentialManager/src/com/android/credentialmanager/common/ui/BottomSheet.kt b/packages/CredentialManager/src/com/android/credentialmanager/common/ui/BottomSheet.kt index f65a1b7..c48e7e4 100644 --- a/packages/CredentialManager/src/com/android/credentialmanager/common/ui/BottomSheet.kt +++ b/packages/CredentialManager/src/com/android/credentialmanager/common/ui/BottomSheet.kt
@@ -71,7 +71,7 @@ }, scrimColor = MaterialTheme.colorScheme.scrim.copy(alpha = .32f), shape = EntryShape.TopRoundedCorner, - windowInsets = WindowInsets.navigationBars, + contentWindowInsets = { WindowInsets.navigationBars }, dragHandle = null, // Never take over the full screen. We always want to leave some top scrim space // for exiting and viewing the underlying app to help a user gain context.