fix: handle stream link

This commit is contained in:
Hryvenko Ihor committed 2026-05-01 22:51:08 +03:00
1 parent d7e4d07497
commit fef5838a23
1 file changed
+4 -1
@@ -69,7 +69,10 @@ const Actions: FC<Props> = ({ torrent, title, provider, show }) => {
if (isSafari) {
const link = window.open(`${M3UUrl}?${params}`, '_blank');
return setTimeout(() => link?.close(), 300);
return setTimeout(() => {
link?.close();
setIsStreamPending(false);
}, 300);
}
const resolver = new Image();