gcx/frontend/genex-mobile/lib
hailin 192bc476c4 fix(mobile): move _startDownload to didChangeDependencies to avoid initState context crash
context.t() (Localizations) cannot be called during initState() — inherited
widgets are not yet mounted. When download fails instantly (e.g. no network),
setState with context.t() inside _startDownload fired synchronously within
initState, causing:
  dependOnInheritedWidgetOfExactType called before initState() completed

Fix: add _downloadStarted guard flag; call _startDownload() from
didChangeDependencies() instead of initState(), where context is fully ready.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-07 09:57:38 -08:00
..
app feat(mobile): check for update on app resume from background 2026-03-07 09:29:46 -08:00
core fix(mobile): move _startDownload to didChangeDependencies to avoid initState context crash 2026-03-07 09:57:38 -08:00
features fix(mobile): remove back button on MarketPage and fix transfer row overflow 2026-03-07 03:07:50 -08:00
shared/widgets feat(genex-mobile): Flutter 前端对接 SMS 认证 API 2026-02-23 19:23:25 -08:00
main.dart feat(mobile/telemetry): add comprehensive event tracking for DAU, real-time presence & funnels 2026-03-07 09:39:48 -08:00