Skip to content

Being able to load resources from Composables previews #763

Open

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions