fix: handle stream link
This commit is contained in:
1 parent
d7e4d07497
commit
fef5838a23
1 file changed
+4
-1
+4
-1
@@ -69,7 +69,10 @@ const Actions: FC<Props> = ({ torrent, title, provider, show }) => {
|
|||||||
|
|
||||||
if (isSafari) {
|
if (isSafari) {
|
||||||
const link = window.open(`${M3UUrl}?${params}`, '_blank');
|
const link = window.open(`${M3UUrl}?${params}`, '_blank');
|
||||||
return setTimeout(() => link?.close(), 300);
|
return setTimeout(() => {
|
||||||
|
link?.close();
|
||||||
|
setIsStreamPending(false);
|
||||||
|
}, 300);
|
||||||
}
|
}
|
||||||
|
|
||||||
const resolver = new Image();
|
const resolver = new Image();
|
||||||
|
|||||||
Reference in new issue
Block a user