emoji-picker-element+1.18.3.patch 771 B

1234567891011121314151617181920
  1. diff --git a/node_modules/emoji-picker-element/database.js b/node_modules/emoji-picker-element/database.js
  2. index ac983fb..a660165 100644
  3. --- a/node_modules/emoji-picker-element/database.js
  4. +++ b/node_modules/emoji-picker-element/database.js
  5. @@ -861,12 +861,12 @@ class Database {
  6. addOnCloseListener(this._dbName, this._clear);
  7. const dataSource = this.dataSource;
  8. const empty = await isEmpty(db);
  9. -
  10. if (empty) {
  11. await loadDataForFirstTime(db, dataSource);
  12. - } else { // offline-first - do an update asynchronously
  13. - this._lazyUpdate = checkForUpdates(db, dataSource);
  14. }
  15. + // else { // offline-first - do an update asynchronously
  16. + // this._lazyUpdate = checkForUpdates(db, dataSource);
  17. + // }
  18. }
  19. async ready () {