mirror of
https://github.com/Alvin-Zilverstand/Twitter-X-Media-Batch-Downloader.git
synced 2026-11-30 18:17:59 +01:00
v4.8
This commit is contained in:
1 parent
6bd03678f8
commit
76acb6f5e1
15 files changed
+532
-449
No files matched your search
@@ -9,6 +9,7 @@ import { openExternal } from "@/lib/utils";
|
||||
import { compareVersionNumbers } from "@/lib/version";
|
||||
import { toastWithSound as toast } from "@/lib/toast-with-sound";
|
||||
import { logger } from "@/lib/logger";
|
||||
import { initDownloadProgressEvents } from "@/lib/download-state";
|
||||
import { saveFetchState, getFetchState, clearFetchState, getResumableInfo, mergeTimelines, saveCursor, getCursor, clearCursor, type FetchState, } from "@/lib/fetch-state";
|
||||
import { TitleBar } from "@/components/TitleBar";
|
||||
import { Sidebar, type PageType } from "@/components/Sidebar";
|
||||
@@ -165,10 +166,12 @@ function App() {
|
||||
}
|
||||
};
|
||||
mediaQuery.addEventListener("change", handleChange);
|
||||
const cleanupDownloadProgress = initDownloadProgressEvents();
|
||||
checkForUpdates();
|
||||
loadHistory();
|
||||
return () => {
|
||||
mediaQuery.removeEventListener("change", handleChange);
|
||||
cleanupDownloadProgress();
|
||||
};
|
||||
}, []);
|
||||
useEffect(() => {
|
||||
|
||||
Reference in new issue
Block a user