@exezt-/webamp 1.5.0-0x726 → 1.5.0-0x728

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.
@@ -7458,6 +7458,7 @@ class WinampTelegramCustomHandler {
7458
7458
  });
7459
7459
 
7460
7460
  _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "saveLastPlaylist", playlistLink => {
7461
+ this.applicationStorage.setItem("lastlist", playlistLink);
7461
7462
  document.cookie = `lastlist=${playlistLink}; path=/; expires=Tue, 19 Jan 2038 03:14:07 GMT; domain=win-amp.ru; secure`;
7462
7463
  });
7463
7464
 
@@ -7548,9 +7549,9 @@ class WinampTelegramCustomHandler {
7548
7549
 
7549
7550
 
7550
7551
  if (emit !== false) {
7551
- var _window2, _window2$Telegram;
7552
+ var _this$getCookie, _window2, _window2$Telegram;
7552
7553
 
7553
- const lastList = this.getCookie('lastlist');
7554
+ const lastList = (_this$getCookie = this.getCookie('lastlist')) !== null && _this$getCookie !== void 0 ? _this$getCookie : this.applicationStorage.getItem("lastlist");
7554
7555
 
7555
7556
  if (typeof lastList !== "undefined") {
7556
7557
  this.getTrackListFromYandexDisk(lastList);