Open begali opened 1 week ago
@begali Can you please send a repro project?
In my project I'm using compose cupertino library. CupertinoTheme
was the reason of the bug. Link to reproduce the bug https://github.com/begali/CupertinoThemeBug. In my opinion CupertinoTheme somehow blocking recomposition.
It overrides user interface style to let you have light keyboard for light app when the system is dark. Interesting side effect
@elijah-semyonov Can you please check? viewController.overrideUserInterfaceStyle = if (dark) UIUserInterfaceStyle.UIUserInterfaceStyleDark else UIUserInterfaceStyle.UIUserInterfaceStyleLight
as mentioned by @alexzhirkevich causing the theme not to change in compose.
Describe the bug
androidx.compose.foundation.isSystemInDarkTheme()
not causing recomposition when usingUINavigationController
as wrapper on composeUIViewController
.Affected platforms
Versions
To Reproduce Steps to reproduce the behavior: