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

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.
@@ -3641,12 +3641,12 @@ class WinampTelegramCustomHandler {
3641
3641
  }
3642
3642
 
3643
3643
  if (typeof localStorage.getItem('app-state') !== "undefined") {
3644
- this.applicationStorage.getItem("app-state", v => {
3644
+ this.applicationStorage.getItem("app-state", (err, v) => {
3645
3645
  this.loadOptions(JSON.parse(v));
3646
3646
  }); // this.loadOptions(JSON.parse(localStorage.getItem('app-state')!) as SerializedStateV1);
3647
3647
  } else {
3648
3648
  try {
3649
- this.applicationStorage.getItem("app-state", v => {
3649
+ this.applicationStorage.getItem("app-state", (err, v) => {
3650
3650
  this.loadOptions(JSON.parse(v));
3651
3651
  });
3652
3652
  } catch (e) {
@@ -3660,9 +3660,9 @@ class WinampTelegramCustomHandler {
3660
3660
 
3661
3661
  let lastList;
3662
3662
  console.error(this.applicationStorage.getItem);
3663
- this.applicationStorage.getItem("lastlist", (v, i) => {
3664
- lastList = v;
3665
- console.error(v, i);
3663
+ this.applicationStorage.getItem("lastlist", (err, val) => {
3664
+ lastList = val;
3665
+ console.error(val);
3666
3666
  }); //this.getCookie('lastlist') ??
3667
3667
 
3668
3668
  console.error(lastList);