@exezt-/webamp 1.5.0-0x734 → 1.5.0-0x737

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7536,12 +7536,12 @@ class WinampTelegramCustomHandler {
7536
7536
  }
7537
7537
 
7538
7538
  if (typeof localStorage.getItem('app-state') !== "undefined") {
7539
- this.applicationStorage.getItem("app-state", v => {
7539
+ this.applicationStorage.getItem("app-state", (err, v) => {
7540
7540
  this.loadOptions(JSON.parse(v));
7541
7541
  }); // this.loadOptions(JSON.parse(localStorage.getItem('app-state')!) as SerializedStateV1);
7542
7542
  } else {
7543
7543
  try {
7544
- this.applicationStorage.getItem("app-state", v => {
7544
+ this.applicationStorage.getItem("app-state", (err, v) => {
7545
7545
  this.loadOptions(JSON.parse(v));
7546
7546
  });
7547
7547
  } catch (e) {
@@ -7555,9 +7555,10 @@ class WinampTelegramCustomHandler {
7555
7555
 
7556
7556
  let lastList;
7557
7557
  console.error(this.applicationStorage.getItem);
7558
- this.applicationStorage.getItem("lastlist", (v, i) => {
7559
- lastList = v;
7560
- console.error(v, i);
7558
+ this.applicationStorage.getItem("lastlist", (err, val) => {
7559
+ lastList = val;
7560
+ console.error(val);
7561
+ console.error(err);
7561
7562
  }); //this.getCookie('lastlist') ??
7562
7563
 
7563
7564
  console.error(lastList);