Fix system bar color after login on light theme.
Actually for the SunsetPage, we need a light status bar.
This commit is contained in:
parent
b241b2c57a
commit
717f632b35
3 changed files with 18 additions and 5 deletions
|
|
@ -44,6 +44,7 @@ import io.element.android.libraries.designsystem.text.withColoredPeriod
|
|||
import io.element.android.libraries.designsystem.theme.components.CircularProgressIndicator
|
||||
import io.element.android.libraries.designsystem.theme.components.Text
|
||||
import io.element.android.libraries.theme.ElementTheme
|
||||
import io.element.android.libraries.theme.ForcedDarkElementTheme
|
||||
|
||||
@Composable
|
||||
fun SunsetPage(
|
||||
|
|
@ -53,9 +54,7 @@ fun SunsetPage(
|
|||
modifier: Modifier = Modifier,
|
||||
overallContent: @Composable () -> Unit,
|
||||
) {
|
||||
ElementTheme(
|
||||
darkTheme = true
|
||||
) {
|
||||
ForcedDarkElementTheme(lightStatusBar = true) {
|
||||
Box(
|
||||
modifier = modifier.fillMaxSize()
|
||||
) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue