mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
795cc50dae
RootRedirect waited for whoever else might call loadSettings, which on a cold start meant waiting for a request queued behind everything else a launch fires off. Traced it in the browser: the settings came back as the 388th request, long after the redirect had given up and gone to the dashboard. That is what "it still just opens the dashboard" was. It now asks for the settings itself - the store de-dupes, so this costs nothing when a load is already in flight - and login spends its 2.6s takeoff animation fetching them instead of leaving that time idle, so by the time it hands over they are already there. Also folds the five copies of setShowTakeoff + navigate-after-2600ms into one takeOff(), since all of them needed the same fix.