refactor: convert download manager into a state class (#17491)

* fix(web): download progress bar not functioning

* remove unused method
This commit is contained in:
Alex 2025-04-10 11:48:21 -05:00 committed by GitHub
parent 4412680679
commit 6d3f3d8616
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 59 additions and 56 deletions

View file

@ -5,7 +5,7 @@ import { NotificationType, notificationController } from '$lib/components/shared
import { AppRoute } from '$lib/constants';
import type { AssetInteraction } from '$lib/stores/asset-interaction.svelte';
import { assetsSnapshot, isSelectingAllAssets, type AssetStore } from '$lib/stores/assets-store.svelte';
import { downloadManager } from '$lib/stores/download';
import { downloadManager } from '$lib/stores/download-store.svelte';
import { preferences } from '$lib/stores/user.store';
import { downloadRequest, getKey, withError } from '$lib/utils';
import { createAlbum } from '$lib/utils/album-utils';