Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e629ec93 authored by Daniel Norman's avatar Daniel Norman
Browse files

fix: Adjust to renamed isDarkTheme method.

commit 9c9c9e20
renamed this method, but was verified on presubmit before
commit d92ae20d
was merged still using the old name.

Bug: 423390143
Test: N/A (presubmit build)
Flag: EXEMPT refactor
Change-Id: I4fa4fa6a31aca769c232d19930a0d650a97c826e
parent 2c15d106
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ fun SystemStatusIcons(
) {
    val context = LocalContext.current
    var bounds by remember { mutableStateOf(Rect()) }
    val color = if (isDark.isDark(bounds)) Color.White else Color.Black
    val color = if (isDark.isDarkTheme(bounds)) Color.White else Color.Black
    CompositionLocalProvider(LocalContentColor provides color) {
        val viewModel =
            rememberViewModel(traceName = "SystemStatusIcons") { viewModelFactory.create(context) }