https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
m

Michael Paus

12/11/2023, 7:33 AM
With 1.6.0-dev1323 there were massive changes in the compose.components.resources package which brake my code. Is there already some documentation somewhere on how to use that now?
o

Oleksandr Karpovich [JB]

12/11/2023, 7:35 AM
cc @Konstantin Tskhovrebov
k

Konstantin Tskhovrebov

12/11/2023, 10:47 AM
Yes. We refactored the library internals and broke a lot of API. it was expected as it is experimental 😉 Documentation will be written when it is ready.
👍 1
m

Michael Paus

12/11/2023, 2:05 PM
Thanks @Oleksandr Karpovich [JB], that helps. By the way, the very first example I opened contains a bug. In
Files.kt
you use
readResourceBytes
in the LaunchedEffect but in the Text at the bottom you use
readBytes
instead.
k

Konstantin Tskhovrebov

12/11/2023, 2:50 PM
it is UI issue) but thank you I'll fix it
5 Views