mirror of
https://github.com/spotiflacapp/SpotiFLAC-Mobile.git
synced 2026-06-01 03:15:17 +07:00
Prevent premature 'downloading' status before actual byte transfer starts, and cache async provider values to avoid UI flicker during queue library reloads. Progress pipeline: - StartItemProgress now initializes with 'preparing' status instead of 'downloading' - SetItemProgress ignores synthetic pre-download progress updates while status is still 'preparing' (no byte data yet) - DownloadService reads backend status field and propagates preparing/ downloading/finalizing to native worker item snapshot - Dart progress stream maps 'preparing' to DownloadStatus.downloading with progress 0.0 (indeterminate spinner) Queue tab: - Add _queueLibraryCountsCache and _queueLibraryPageDataCache to retain last successful data during FutureProvider refetches - Prevents empty-state flash when loadedIndexVersion bumps trigger provider invalidation - Caches trimmed to max 24 entries via FIFO eviction |
||
|---|---|---|
| .. | ||
| settings | ||
| store | ||
| album_screen.dart | ||
| artist_screen.dart | ||
| downloaded_album_screen.dart | ||
| favorite_artists_screen.dart | ||
| home_tab.dart | ||
| home_tab_helpers.dart | ||
| home_tab_widgets.dart | ||
| library_playlists_screen.dart | ||
| library_tracks_folder_screen.dart | ||
| local_album_screen.dart | ||
| main_shell.dart | ||
| playlist_screen.dart | ||
| queue_tab.dart | ||
| queue_tab_helpers.dart | ||
| queue_tab_widgets.dart | ||
| repo_tab.dart | ||
| search_screen.dart | ||
| setup_screen.dart | ||
| track_metadata_edit_sheet.dart | ||
| track_metadata_screen.dart | ||
| tutorial_screen.dart | ||