File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
app/src/main/kotlin/io/element/android/x Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import androidx.compose.runtime.getValue
2121import androidx.compose.runtime.remember
2222import androidx.compose.ui.Modifier
2323import androidx.compose.ui.platform.LocalUriHandler
24+ import androidx.compose.ui.platform.LocalView
2425import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen
2526import androidx.lifecycle.Lifecycle
2627import androidx.lifecycle.lifecycleScope
@@ -58,6 +59,9 @@ class MainActivity : NodeActivity() {
5859 setupLockManagement(appBindings.lockScreenService(), appBindings.lockScreenEntryPoint())
5960 enableEdgeToEdge()
6061 setContent {
62+ // Try manually disabling forced dark mode here too
63+ LocalView .current.isForceDarkAllowed = false
64+
6165 MainContent (appBindings)
6266 }
6367 }
You can’t perform that action at this time.
0 commit comments