Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Being able to load resources from Composables previews #763

Open
corrado4eyes opened this issue Jan 29, 2024 · 0 comments
Open

Being able to load resources from Composables previews #763

corrado4eyes opened this issue Jan 29, 2024 · 0 comments

Comments

@corrado4eyes
Copy link
Contributor

Describe the bug
Kaluga loads resources on android thanks to the getIdentifier helper method which instead of taking an Int, it takes a string which is the name of the resource.
Probably this was done because iOS takes by default a string as well, so for the sake of consistency that android API was being used.

This seems to be an issue when using Composable previews that are not able to load the resources.

To Reproduce
Steps to reproduce the behavior:

  1. Create a Composable preview
  2. Something calls getIdentifier
  3. Preview won't load
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant