fix: player launcher

This commit is contained in:
ner committed 2024-10-23 15:37:30 +03:00
1 parent ce9a4249ae
commit d8363ca250
5 files changed
+6 -6

No files matched your search

@@ -8,7 +8,7 @@ import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '@
import { providers } from '../../constants';
import { useCastMagnet, usePrefix } from '../../hooks/useMagnetHosts';
import showHostManagerModal from '../HostManager';
// import showPlayer from '../Player';
import showPlayer from '../Player';
import TableHeadSortable from '../TableHeadSortable';
interface Props {
@@ -85,7 +85,7 @@ const TorrentsTable: FC<Props> = ({ title, torrents, backdrop, sort, sortable, p
{supportedForStream && (
<div
className='flex size-8 cursor-pointer items-center justify-center rounded-md border'
// onClick={() => showPlayer({ magnet: torrent.magnet, backdrop, title })}
onClick={() => showPlayer({ magnet: torrent.magnet, backdrop, title })}
title='Play show'
>
<Play size={20} />