mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
renderBatteryIndicator() drew the secondary icons in a fixed sequence, so a busy bar (many background modes on) shrank the node-name area to a couple of ellipsised characters. Rework it into a priority-ordered list laid out right->left with a reserved minimum name width: once an icon won't fit above the reserve, every lower-priority icon after it is dropped too. Priority: BT > GPS fix > alarm > mute > auto-advert > trail > live-share > repeater (battery stays rightmost). Blinking icons still reserve their slot while off, so the name width doesn't flicker with the blink. Also -39 lines (eight if-blocks collapse to one table + loop). Both solo envs build green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>