mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-30 19:54:16 -04:00
Format code
This commit is contained in:
parent
e843b73472
commit
9bee5df036
@ -221,7 +221,10 @@ export const useDownloader = () => {
|
|||||||
{ type, slug, id: data.id, extension: info.extension },
|
{ type, slug, id: data.id, extension: info.extension },
|
||||||
account,
|
account,
|
||||||
);
|
);
|
||||||
setDownloads((x) => [...x, setupDownloadTask({ data, info, path }, task, store, queryClient)]);
|
setDownloads((x) => [
|
||||||
|
...x,
|
||||||
|
setupDownloadTask({ data, info, path }, task, store, queryClient),
|
||||||
|
]);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error("download error", e);
|
console.error("download error", e);
|
||||||
ToastAndroid.show(`Error downloading ${slug}`, ToastAndroid.LONG);
|
ToastAndroid.show(`Error downloading ${slug}`, ToastAndroid.LONG);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user