fix: inconsistent close button size on swaps #21615
Open
+1,117
−1,215
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



Description
Fix the inconsistent size of the close button in the "Swap" page "Select Token" bottom sheet and "Select Network" bottom sheet. We also took some time to refactor
BridgeNetworkSelectorBaseto use components from the design system similar to howBridgeTokenSelectorBasedoes it.Changelog
CHANGELOG entry: Fix the inconsistent size of the close button in the "Swap" page "Select Token" bottom sheet and "Select Network" bottom sheet.
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/SWAPS-3186
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Standardizes close button size in bridge token/network selectors and refactors
BridgeNetworkSelectorBaseto use the design-systemBottomSheetHeader.BridgeNetworkSelectorBasenow usesBottomSheetHeaderwithonClose, removing customBox/TouchableOpacity/Iconlogic; simplified styles.ButtonIconSizes.Lgacross selectors.BridgeSourceTokenSelector,BridgeDestTokenSelector):BridgeSourceNetworkSelector,BridgeDestNetworkSelector):Written by Cursor Bugbot for commit 1aa4a07. This will update automatically on new commits. Configure here.