From fef5838a230eee7d387b4d7ba6681399db2c85c5 Mon Sep 17 00:00:00 2001 From: Hryvenko Ihor Date: Fri, 1 May 2026 22:51:08 +0300 Subject: [PATCH] fix: handle stream link --- .../components/TorrentsTable/components/Actions/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components/Preview/components/Torrents/components/TorrentsTable/components/Actions/index.tsx b/components/Preview/components/Torrents/components/TorrentsTable/components/Actions/index.tsx index 71e2eaa..aca5441 100644 --- a/components/Preview/components/Torrents/components/TorrentsTable/components/Actions/index.tsx +++ b/components/Preview/components/Torrents/components/TorrentsTable/components/Actions/index.tsx @@ -69,7 +69,10 @@ const Actions: FC = ({ 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();