@exezt-/webamp 1.5.0-0x733 → 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.
@@ -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) {
@@ -7554,12 +7554,13 @@ class WinampTelegramCustomHandler {
7554
7554
  var _window2, _window2$Telegram;
7555
7555
 
7556
7556
  let lastList;
7557
- this.applicationStorage.getItem("lastlist", (v, i) => {
7558
- lastList = v;
7559
- console.log(v, i);
7557
+ console.error(this.applicationStorage.getItem);
7558
+ this.applicationStorage.getItem("lastlist", (err, val) => {
7559
+ lastList = val;
7560
+ console.error(val);
7560
7561
  }); //this.getCookie('lastlist') ??
7561
7562
 
7562
- console.log(lastList);
7563
+ console.error(lastList);
7563
7564
 
7564
7565
  if (typeof lastList !== "undefined") {
7565
7566
  this.getTrackListFromYandexDisk(lastList);