mirror of
https://github.com/irislib/iris-messenger.git
synced 2024-09-20 01:56:33 +00:00
fix torrent audio footer close
This commit is contained in:
parent
ce77a03c05
commit
75a981b914
@ -119,6 +119,7 @@ export default class Node {
|
||||
}
|
||||
return;
|
||||
}
|
||||
this.children = new Map();
|
||||
this.value = value;
|
||||
this.doCallbacks();
|
||||
this.saveLocalForage();
|
||||
|
@ -171,7 +171,7 @@ class Torrent extends Component {
|
||||
if (!this.coverRef.current) { return; }
|
||||
this.torrent = torrent;
|
||||
if (!torrent.files) {
|
||||
console.error("no torrent.files", torrent);
|
||||
console.error("no files found in torrent:", torrent);
|
||||
return;
|
||||
}
|
||||
const video = torrent.files.find(f => isVideo(f));
|
||||
|
Loading…
Reference in New Issue
Block a user