mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 23:08:11 +00:00
ensurePageOrderInit returned early after inserting FAVOURITES without checking whether TOOLS/QUICK_MSG were present. Old page_order saves that predated those pages had CLOCK+FAVOURITES but no Messages entry, so movePageInOrder always found cur==-1 and silently did nothing. Now recount valid entries after any insertion, then walk the full list of required page bits and append any that are absent (if room exists). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>