fix(wallet+companion): pre-demo blockers — Send modal TDZ crash, cold-start inset collapse, loader branding — 0.5.10 #118
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/safe-area-insets"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Send button dead EVERYWHERE (node web UI + companion): SendBitcoinModal crashed at mount — watch() evaluated a computed reading effectiveMethod inside its TDZ. Fixed + guarded. Cold-start 0px inset collapse fixed via insets listener. Loader wears the circle logo + F*CK IPS MESH. APK 0.5.10/vc30. DEPLOY web-ui to nodes before the demo.
🤖 Generated with Claude Code
- SendBitcoinModal crashed AT MOUNT on device ('Cannot access R before initialization'): the invoice-first block's watch() evaluates its computed source at setup, which read effectiveMethod while still in its temporal dead zone (declared 20 lines later). Send button did nothing and the failure poisoned sibling modal data. Block moved below effectiveMethod, with a comment so it can't drift back. - Cold start injected 0px safe-area vars (onPageFinished can beat window attachment; rootWindowInsets null) — UI lost top/bottom margins and the tab bar sat in the gesture zone eating taps. Injection extracted to injectSafeAreaVars(), re-fired from an OnApplyWindowInsetsListener when real insets arrive, on page finish, and on reattach. - MeshLoadingScreen wears the proper brand: pixel 'a' in the black circle-container + F*CK IPS MESH wordmark. Served APK: 0.5.10 (vc30). Reproduced+diagnosed live on-device. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>