Co-badge changes Pt 1#2472
Conversation
- Adds the selection mechanism back to DualBrandAccessoryView with the new design. Not used by the component yet. - Move DualBrandAccessoryView out of being nested in FormCardNumberItemView
|
ℹ️ No baseline data found for 'feature/co-badge_base'.
|
There was a problem hiding this comment.
Code Review
This pull request refactors the DualBrandAccessoryView into a standalone internal class and implements a segmented picker interface for dual-branded cards. The update introduces brand selection logic, including visual feedback through shadows and borders, and adds gesture recognizers to handle user interaction. Additionally, a new componentSegmentedBackground color was added to the core styles, and integration tests were expanded to verify the new selection behavior and appearance states. One review comment suggests ensuring that CALayer border colors are manually updated in traitCollectionDidChange to correctly support theme changes.
New cobadge UI is big and won’t fit textfield without increasing the gap between title and text. so we make the view clip through
And clean up DualBrandAccessoryView
✅ No changes detectedComparing Analyzed targets: Adyen, AdyenActions, AdyenCard, AdyenCardScanner, AdyenCashAppPay, AdyenComponents, AdyenDelegatedAuthentication, AdyenDropIn, AdyenEncryption, AdyenSession, AdyenSwiftUI, AdyenTwint, AdyenWeChatPay |
Summary [Required]
Screen.Recording.2026-04-03.at.13.57.48.mov
Ticket [Optional]
COSDK-1064Checklist [Required]