diff --git a/package.json b/package.json index ef89019..4b12d9e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Miru", - "version": "4.4.1", + "version": "4.4.2", "author": "ThaUnknown_ ", "description": "Stream anime torrents, real-time with no waiting for downloads.", "main": "build/main.js", diff --git a/src/background/background.js b/src/background/background.js index 733f036..bcab7ce 100644 --- a/src/background/background.js +++ b/src/background/background.js @@ -61,7 +61,7 @@ class TorrentClient extends WebTorrent { loadLastTorrent () { const torrent = localStorage.getItem('torrent') - if (torrent) this.addTorrent(new Uint8Array(JSON.parse(torrent)), localStorage.getItem('lastFinished')) + if (torrent) this.addTorrent(new Uint8Array(JSON.parse(torrent)), JSON.parse(localStorage.getItem('lastFinished'))) } handleTorrent (torrent) {