Pebble App Framework: Phone API
    Preparing search index...

    Function mergeProviderKeys

    • Lays the keys the page sent back over the ones the phone held, select by select and provider by provider, so a provider the page never touched keeps its key. The page's spare stands, since the page hands the spare out and clears it.

      Parameters

      • held: ProviderKeys

        The entries the phone held.

      • sent: ProviderKeys | null

        The entries the page sent back, or null for a save that carried none.

      Returns ProviderKeys

      The merged entries.