-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
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?
react-native-wallet/ios/RNWalletModule.swift
Lines 11 to 20 in a0fb6bd
| Constants { | |
| let passButton = PKAddPassButton() | |
| return [ | |
| "buttonLayout": [ | |
| "baseWidth": passButton.frame.width, | |
| "baseHeight": passButton.frame.height | |
| ] | |
| ] | |
| } |
Metadata
Metadata
Assignees
Labels
No labels