WalletConnect needs more space. See video.
Details
Details
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Branch
- ashoat/siwe
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Comment Actions
Three changes:
- Make it possible to increase the size of the BottomSheet. User may want to do this if eg. they don't have Coinbase wallet installed and they select it
- As a result, when the user closes WalletConnect modal, the WalletConnect snap point is not removed, so the BottomSheet doesn't resize. Added a React useEffect hook to keep the old behavior
- Factor bottom inset into bottom sheet heights for consistency between iOS and Android
landing/siwe.react.js | ||
---|---|---|
136 ↗ | (On Diff #20084) | nit: think a newline after this would help visually separate the useCallback and useEffect with all the indentation |