mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 23:08:11 +00:00
The stored list only re-merged + re-sorted periodically under the "recent" sort; under distance sort it refreshed only on entry. So a [LOC] share arriving while the list was open (sorted by distance) wasn't re-sorted and the now-nearest node never moved to the top. Refresh on a timer under both sorts, keeping the highlighted node selected across the rebuild. Factor the identity-preserving reselection into refreshKeepingSelection(), shared by the list and the detail/nav refresh paths. Verified: WioTrackerL1_companion_solo_dual builds clean. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>