Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • A Ahad Mobile
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • holatech
  • Ahad Mobile
  • Merge requests
  • !95

fix(card): light theme for card details and ios black screen after closing it

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Khanh Pham requested to merge fix/card-details-light-theme into develop Oct 05, 2026
  • Overview 0
  • Commits 4
  • Pipelines 1
  • Changes 10

Changes

  • Card details theme: GET /card-display accepts ?theme=light (only the exact value selects the light palette, anything else stays dark, raw value never rendered). The SDK field spans get a sans-serif font (they rendered in Times). The app overlay takes its colours from the colour scheme, pinned at mount so a theme flip cannot reload the one-time-token page.
  • iOS black screen after closing card details: expo-screen-capture@7.2.0 restored the wrong layer in allowScreenCapture, leaving the app black until relaunch (expo/expo#48985). Patched via pnpm with upstream's SecureWindowCanvas fix, plus removing the recording block view on allow. Native change: needs a new iOS build, not OTA.

Verification

  • be yarn jest src/modules/card-account: 235 pass; fe pnpm jest src/components/detail-card: 47 pass; type-check clean.
  • iOS simulator (patched build): open card details → passcode → X returns to the detail screen (previously black).
  • Opus gate: PASS (1 round). Non-blocking findings 1 (blockView) and 2 (theme pinned) fixed; 3 (unhandled rejection if native prevent throws: dev warning only, unreachable here) and 4 (controller test gap) deferred.

🤖 Generated with Claude Code

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix/card-details-light-theme