@gphone/sdk
    Preparing search index...

    Function hydrateSettings

    • Copy this character's saved settings into the cache and re-read every live store.

      Runs at page load and again on every character load. The CEF page never unloads, so switching character without a resource restart would otherwise leave the previous character's phone on screen — which is the bug this whole change exists to fix, not a corner case.

      Live stores are reset through the same persistedResets registry clearAppStorage uses. They read their key once, at construction, so writing the cache alone would put the right value in storage and leave the wrong one on screen.

      A failed fetch leaves the cache untouched. Keeping whatever the phone was already showing beats resetting a working phone to defaults because one request timed out.

      Returns Promise<void>