compose-multiplatform
compose-multiplatform copied to clipboard
painterResource not working with "\" in path
if we pass path argument in painterResource like drawable\image.svg it throws an exception that resource not found . But if we pass drawable/image.svg it will work.
In Windows classes like Path or File return path string with \ in path instead of /. We should always do workarounds like replace("\\", "/"). It's inconvenient
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.