From 3fcf8548a85a5c48bec4fb4989dccf261bdd3804 Mon Sep 17 00:00:00 2001 From: HuanCheng65 <22636177+HuanCheng65@users.noreply.github.com> Date: Fri, 21 Jul 2023 22:20:43 +0800 Subject: [PATCH] =?UTF-8?q?pref:=20ModalSheet=20=E8=83=8C=E6=99=AF?= =?UTF-8?q?=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/huanchengfly/tieba/post/MainActivityV2.kt | 3 ++- .../com/huanchengfly/tieba/post/ui/page/thread/ThreadPage.kt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/huanchengfly/tieba/post/MainActivityV2.kt b/app/src/main/java/com/huanchengfly/tieba/post/MainActivityV2.kt index 731b245d..d6fbebd9 100644 --- a/app/src/main/java/com/huanchengfly/tieba/post/MainActivityV2.kt +++ b/app/src/main/java/com/huanchengfly/tieba/post/MainActivityV2.kt @@ -352,7 +352,8 @@ class MainActivityV2 : BaseComposeActivity() { ) { ModalBottomSheetLayout( bottomSheetNavigator = bottomSheetNavigator, - sheetShape = RoundedCornerShape(topStart = 12.dp, topEnd = 12.dp) + sheetShape = RoundedCornerShape(topStart = 12.dp, topEnd = 12.dp), + sheetBackgroundColor = ExtendedTheme.colors.windowBackground, ) { DestinationsNavHost( navController = navController, diff --git a/app/src/main/java/com/huanchengfly/tieba/post/ui/page/thread/ThreadPage.kt b/app/src/main/java/com/huanchengfly/tieba/post/ui/page/thread/ThreadPage.kt index 590ff3a4..79e35418 100644 --- a/app/src/main/java/com/huanchengfly/tieba/post/ui/page/thread/ThreadPage.kt +++ b/app/src/main/java/com/huanchengfly/tieba/post/ui/page/thread/ThreadPage.kt @@ -758,7 +758,7 @@ fun ThreadPage( ModalBottomSheetLayout( sheetState = bottomSheetState, sheetShape = RoundedCornerShape(topStart = 12.dp, topEnd = 12.dp), - sheetBackgroundColor = ExtendedTheme.colors.background, + sheetBackgroundColor = ExtendedTheme.colors.windowBackground, sheetContent = { ThreadMenu( isSeeLz = isSeeLz,