Nikola Milovic
05/31/2021, 11:49 AMisSystemInDarkTheme()
. I declare it as
@Composable
expect fun isSystemInDarkTheme() : Boolean
And I implement it on my desktop and my android Mains. But I keep gettting the error
java.lang.NoSuchMethodError: No static method isSystemInDarkTheme(Landroidx/compose/runtime/Composer;I)Z in class
If I try and just make the function be fun isSys... () = true
then I get another expect/ actual error with unresolved reference for another function... Anyone had similar issues? I saw that there are issues with default parameters and suspend funcs with actual/expect but nothing similar to mineArkadii Ivanov
05/31/2021, 12:53 PMNikola Milovic
05/31/2021, 2:37 PMArkadii Ivanov
05/31/2021, 2:48 PMcom.nikolam.kmm_weather.ui
instead of com/nikolam/kmm_weather/ui
, this still should work, but maybe it confuses somehow.Nikola Milovic
06/02/2021, 6:48 AMArkadii Ivanov
06/02/2021, 10:15 AMbeta08
release.