Skip to content

Unsupported layout off the main thread #9

@pchalupa

Description

@pchalupa

When RNWalletView is rendered, I've got this warning:

Unsupported layout off the main thread

The root cause is this constant, which apparently runs off the main thread. How about replacing it with the measure method?

Constants {
let passButton = PKAddPassButton()
return [
"buttonLayout": [
"baseWidth": passButton.frame.width,
"baseHeight": passButton.frame.height
]
]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions