mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
Empty action-row buttons (Send/Receive/Swap/Scan) and empty bottom navbar tabs are the same root cause on Linux + Android (+ likely iOS): the workflows weren't running Cake's compile_graphics.sh, which is what converts res/pictures/*.svg sources → assets/new-ui/*.svg.vec precompiled vector assets that CakeImageWidget loads via AssetBytesLoader. History: commit89e07fbba(Cake upstream, March 2026) moved to precompiled SVGs, added compile_graphics.sh, and added a 'Compile graphics' workflow step. Then980c0278badded \*.svg.vec to .gitignore (so the artifacts are no longer tracked). End result: CI MUST run compile_graphics.sh to produce the .vec files, or every CakeImageWidget silently renders nothing. Fix: - Add vector_graphics_compiler: ^1.1.16 to dev_dependencies (the script invokes 'dart run vector_graphics_compiler ...' which needs the package in the project's deps for 'dart run' to find it). - Add a 'Compile SVG assets' step to all four workflows, between generate_localization and the build/pod-install step. This will populate assets/new-ui/ with ~82 .svg.vec files at build time, so every CakeImageWidget reference (action row, navbar, top bar, settings rows, etc.) resolves to its actual icon.