pref: ModalSheet 背景颜色

This commit is contained in:
HuanCheng65 2023-07-21 22:20:43 +08:00
parent 11a3665732
commit 3fcf8548a8
No known key found for this signature in database
GPG Key ID: 5EC9DD60A32C7360
2 changed files with 3 additions and 2 deletions

View File

@ -352,7 +352,8 @@ class MainActivityV2 : BaseComposeActivity() {
) { ) {
ModalBottomSheetLayout( ModalBottomSheetLayout(
bottomSheetNavigator = bottomSheetNavigator, bottomSheetNavigator = bottomSheetNavigator,
sheetShape = RoundedCornerShape(topStart = 12.dp, topEnd = 12.dp) sheetShape = RoundedCornerShape(topStart = 12.dp, topEnd = 12.dp),
sheetBackgroundColor = ExtendedTheme.colors.windowBackground,
) { ) {
DestinationsNavHost( DestinationsNavHost(
navController = navController, navController = navController,

View File

@ -758,7 +758,7 @@ fun ThreadPage(
ModalBottomSheetLayout( ModalBottomSheetLayout(
sheetState = bottomSheetState, sheetState = bottomSheetState,
sheetShape = RoundedCornerShape(topStart = 12.dp, topEnd = 12.dp), sheetShape = RoundedCornerShape(topStart = 12.dp, topEnd = 12.dp),
sheetBackgroundColor = ExtendedTheme.colors.background, sheetBackgroundColor = ExtendedTheme.colors.windowBackground,
sheetContent = { sheetContent = {
ThreadMenu( ThreadMenu(
isSeeLz = isSeeLz, isSeeLz = isSeeLz,