perf: migrate history to SQLite and optimize palette extraction

- Add SQLite database for download history with O(1) indexed lookups
- Add in-memory Map indexes for O(1) getBySpotifyId/getByIsrc
- Automatic migration from SharedPreferences on first launch
- Fix PaletteService to use PaletteGenerator (isolate approach didn't work)
- Use small image size (64x64) and limited colors (8) for speed
- Add caching to avoid re-extraction
- All screens now use consistent PaletteService
- Update CHANGELOG with all v3.2.0 changes
This commit is contained in:
zarzet
2026-01-21 10:05:39 +07:00
parent 7a17de49b2
commit b899b54bb8
11 changed files with 557 additions and 177 deletions
+1 -1
View File
@@ -1027,7 +1027,7 @@ packages:
source: hosted
version: "1.10.1"
sqflite:
dependency: transitive
dependency: "direct main"
description:
name: sqflite
sha256: e2297b1da52f127bc7a3da11439985d9b536f75070f3325e62ada69a5c585d03