fix: verification error

This commit is contained in:
ThaUnknown 2023-09-05 13:54:51 +02:00
parent d40df8a1ff
commit 62544d7754
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "Miru",
"version": "4.4.1",
"version": "4.4.2",
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
"description": "Stream anime torrents, real-time with no waiting for downloads.",
"main": "build/main.js",

View file

@ -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) {