refactor: elevate QR signing and hardware wallet sheets#31679
Conversation
PR template — items to address before "Ready for review"Warnings — informational, address before merging:
See docs/readme/ready-for-review.md for the full Definition of Ready for Review. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
These changes affect the visual appearance of QR hardware wallet flows (adding QR-based hardware wallet accounts and signing with them). The No other tags are warranted:
Performance Test Selection: |
Description
Fixes elevated surfaces collapsing into the pure-black screen background when MM_PURE_BLACK_PREVIEW=true. The QR signing modal and hardware wallet bottom sheet now use getElevatedSurfaceColor() instead of background.default, so they render as visible elevated surfaces in pure-black dark mode. Light mode and flag-off behavior are unchanged.
Changelog
CHANGELOG entry: null
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/MUL-1866
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist