mirror of
https://github.com/Zproger/Aurum.git
synced 2026-10-13 02:56:39 +07:00
The eye toggle lived as local state inside CryptoHistoryChart, so it only masked the big total figure — the holdings table, allocation card, and stats tiles below stayed fully visible. Lifted `hidden` to CryptoPage and threaded it through every money-displaying section (chart, stats row, allocation list, holdings table, trade history modal) via a shared maskAmount() helper. Percentages (1h/24h/7d%, profit/loss %) stay visible on purpose — a relative change doesn't reveal the actual amount of money involved, only absolute currency figures and coin quantities (which combined with a visible price also reveal an amount) are masked. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01855PiW5Wd8n4aRW4n9kByY