webxdc / store

XDC store, migrated to codeberg
https://codeberg.org/webxdc/store
5 stars 0 forks source link

fix: update app state even if appInfo store is not populated yet #204

Closed link2xt closed 1 year ago

link2xt commented 1 year ago

If the application has just been launched, appStore may be not populated yet as it requires reading the whole appInfo object store and takes time.

Instead of relying on appInfo store, read the info of the application in the same transaction.

Fixes #203.