Repository navigation
fix(send): make the "Accept contact request" checkbox label readable in dark mode - #1613
Conversation
…in dark mode The confirm-payment dialog's StyledCheckBox had no text color, so it fell back to the theme default and was unreadable on the dark dialog background. QA (MO-1023) paid a user with a pending incoming contact request and did not notice the checkbox — checked by default since NMA-373 — so the request was accepted with the payment. Use content_primary like the dialog's other text. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to The checkbox label uses the night-aware primary content color, with no material merge risk identified. Pre-merge checks |
|
|
✅ Final review complete — no blockers (commit a762453) · triage: low |
thepastaclaw
left a comment
There was a problem hiding this comment.
Final validation — Phase 1 + Phase 2
Verified the one-line change at the exact PR head: the checkbox label now uses content_primary, resolving to #0A0B0D in light mode and #E6FFFFFF in night mode, consistent with the dialog’s primary text styling. The custom checkbox preserves this explicit color, and visibility, default-checked state, and per-username persistence remain unchanged; no in-scope defects were found. The supplied CI snapshot reports successful check and build jobs; this verification was static, and visual QA in both themes remains outstanding.
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) — The diff adds one explicit text color to a checkbox label, a contained UI readability fix whose correctness is easy to confirm and which changes no payment or contact-acceptance logic. - Phase 1 reviewers:
glm-5.3-flash— general (completed, effort high); agentphase1-reviewer - Phase 1 model:
glm-5.3-flash— zai quota: 5h 100% left, weekly 86% left; passed overgemini-3.8-flash-high(antigravity below 15% reserve: weekly 14% left, 5h 100% left) - Fresh verifier:
gpt-6.1-sol— final-verifier; agentsol-verifier - Phase 2 reviewers:
gpt-6.1-sol— general (completed, effort medium); agentphase2-reviewer
…sdk-phase-1-v11.9.1 Brings in #1613, #1597 (Kotlin SDK v42int30), #1603, #1612, #1617, #1618 and #1615. - WalletTransactionMetadataProviderGiftCardTest: kept both imports (TransactionRecordsDao from this branch, SdkTxMetadataSource from #1603). - WalletTransactionMetadataProviderSdkStoreTest (new in #1603): passes the transactionRecordsDao this branch added to the provider's constructor. - forgetTransaction() also refuses a transaction the SDK store holds. Since #1603 an SDK-only transaction has real metadata, and the dashj wallet not holding it no longer proves the payment was never sent. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Issue being fixed or feature implemented
MO-1023 (second finding). QA paid a user who had sent them a contact request they hadn't accepted, and the request was accepted along with the payment.
The automatic accept is existing behaviour from NMA-373 (
0e687eabc, 2020). The payment confirm dialog shows an "Accept contact request" checkbox, checked by default and remembered per username. What was wrong is that its label had no text color, so in dark mode it fell back to the theme default and was unreadable on the dark dialog. The user couldn't tell what the checked box meant.What was done?
dialog_confirm_transaction.xml:confirm_auto_acceptnow usesandroid:textColor="@color/content_primary", like the dialog's other text (black in light mode, white at 90% in night mode).How Has This Been Tested?
./gradlew :wallet:process_testNet3DebugResourcespasses.Breaking Changes
None.
Checklist:
🤖 Generated with Claude Code
Summary by CodeRabbit