From e9d9edbcc3715a17da5fb6ec22ab130412d80b1b Mon Sep 17 00:00:00 2001 From: HuanCheng65 <22636177+HuanCheng65@users.noreply.github.com> Date: Sat, 22 Jul 2023 14:42:20 +0800 Subject: [PATCH] =?UTF-8?q?pref:=20=E9=A1=B6=E6=A0=8F=E5=9B=BE=E6=A0=87?= =?UTF-8?q?=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../huanchengfly/tieba/post/ui/widgets/compose/Toolbar.kt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/huanchengfly/tieba/post/ui/widgets/compose/Toolbar.kt b/app/src/main/java/com/huanchengfly/tieba/post/ui/widgets/compose/Toolbar.kt index 0e26ae24..8f78daba 100644 --- a/app/src/main/java/com/huanchengfly/tieba/post/ui/widgets/compose/Toolbar.kt +++ b/app/src/main/java/com/huanchengfly/tieba/post/ui/widgets/compose/Toolbar.kt @@ -199,11 +199,13 @@ fun TitleCentredToolbar( verticalAlignment = Alignment.CenterVertically, modifier = Modifier.fillMaxHeight() ) { - navigationIcon?.invoke() + ProvideContentColor(color = ExtendedTheme.colors.onTopBar) { + navigationIcon?.invoke() - Spacer(modifier = Modifier.weight(1f)) + Spacer(modifier = Modifier.weight(1f)) - actions() + actions() + } } Row(