Repository navigation
fix(dashpay): show the Cancel button in the profile picture upload dialog in dark mode - #1660
Conversation
…alog in dark mode The Cancel button forced a white background over its Tertiary style, so in dark mode its white text was invisible. Use the Tertiary style's own background, as the delete confirmation dialog's "No" button does. MO-1093 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Walkthrough
Merge Risk:
|
|
✅ Final review complete — no blockers (commit 37dbd08) · triage: low |
thepastaclaw
left a comment
There was a problem hiding this comment.
Final validation — Phase 1 + Phase 2
The change correctly removes the hard-coded white background from the profile-picture upload dialog's Cancel button, allowing the existing themed Button.Tertiary.Large style to provide the dark-mode background and text contrast. The implementation matches the already-themed Cancel button in the delete confirmation dialog, and no in-scope correctness issues were found. The build check was still in progress at the supplied snapshot; the completed check and CodeRabbit checks succeeded.
Review provenance
Source: reviewer 1: glm-5.3-flash (agent: phase1-reviewer, role: general); reviewer 2: gpt-6.1-sol (agent: phase2-reviewer, role: general); final verifier: gpt-6.1-sol (agent: sol-verifier, role: final-verifier)
- Triage:
lowbygpt-6.1-sol(effort low) — This is a small, self-contained layout change that removes a forced white background so the existing themed button style can render correctly in dark mode. - Phase 1 reviewers:
glm-5.3-flash— general (completed, effort high); agentphase1-reviewer - Phase 1 model:
glm-5.3-flash— zai quota: 5h 62% left, weekly 82% left; passed overgemini-3.8-flash-high(antigravity quota lookup failed) - Fresh verifier:
gpt-6.1-sol— final-verifier; agentsol-verifier - Phase 2 reviewers:
gpt-6.1-sol— general (completed, effort medium); agentphase2-reviewer
Brings in dashpay#1660, dashpay#1665, dashpay#1671 and the pre-review fail-closed fix (233a26c). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Issue
MO-1093 (comment 91681): the profile picture dialogs on Edit Profile display improperly in dark mode. In the "Please Wait / Uploading your picture" dialog, the Cancel button is a white box with white text, so the label is invisible.
Fix
profile_picture_state_dialog.xmlforced@drawable/white_button_background_no_shadowon top of theButton.Tertiary.Largestyle. That drawable is always white, and in dark mode the Tertiary text is near-white. Removing the override makes Cancel use the Tertiary style's own background, as the delete confirmation dialog's "No" button already does.Not changed
The delete confirmation dialog ("Are you sure?") already uses themed styles. Its avatar area was blank in the screenshot because Glide loads the saved profile's
avatarUrlthere. That isn't a dark-mode styling issue, so it is not addressed here.Testing
:wallet:process_testNet3DebugResourcesbuilds.🤖 Generated with Claude Code
Summary by CodeRabbit