painterResource() is deprecated in Compose Desktop...
# compose-desktop
s
painterResource() is deprecated in Compose Desktop! What's the alternative?
c
Can you post your code? I was just using painterResource and didn't have any deprecation warnings. maybe its just the certain method signature you're using?
s
Hey!
c
Can you hover over the crossout? What's the exact error? I can't see your full code so that screenshot isn't that helpful. For example, I don't know if your code includes a content description or not
z
I think the overloads that take strings have been deprecated in favor of some new resource API
s
Even if I'm using Compose Dekstop and not compose multiplatform?
k
Compose Desktop has been rebranded to Compose Multiplatform
s
Oh I got it! I actually I really didn't had any idea about it. Thank you so much.