Merge pull request #1225 from vector-im/feature/bma/forceDarkTheme
Fix system bar color after login on light theme.
This commit is contained in:
commit
d4b527fb80
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