hello, after updating to compose multiplatform 1.1...
# compose
k
hello, after updating to compose multiplatform 1.12 I started receiving errors that
LocalSystemTheme
become internal and I cannot use it. Until today I was following this instruction kotlinlang.org/docs/multiplatform/compose-resource-environment.html#… to handle theming on desktop/web/ios, but now the instruction is outdated and invalid. Is there any equivalent for
LocalSystemTheme
for non-android platforms?
my goal is to override theming of compose resources
i
public common API for it is
androidx.compose.foundation.isSystemInDarkTheme()
Documenting
@OptIn(InternalComposeUiApi::class)
is a clear mistake - It was never intended for external use. Thanks for letting us know
m
Will the documentation be updated with some new equivalent for overriding theme for Compose Resources?
i
yes, I've already escalated this internally
🫶 4
🙏 3