chore: cleanup

This commit is contained in:
Adrian Castro
2024-03-27 10:42:46 +01:00
parent 42e6b1fe63
commit 772bee2c1f
2 changed files with 4 additions and 11 deletions

View File

@@ -14,7 +14,7 @@ import { useDownloadManager } from "~/hooks/DownloadManagerContext";
import { usePlayerStore } from "~/stores/player/store";
const DownloadsScreen: React.FC = () => {
const { startDownload, downloads, removeDownload } = useDownloadManager();
const { startDownload, downloads } = useDownloadManager();
const resetVideo = usePlayerStore((state) => state.resetVideo);
const setAsset = usePlayerStore((state) => state.setAsset);
const router = useRouter();
@@ -94,7 +94,6 @@ const DownloadsScreen: React.FC = () => {
key={item.id}
{...item}
onPress={() => handlePress(item.asset)}
onLongPress={removeDownload}
/>
))}
</ScrollView>