Files
SpotiFLAC-Mobile/lib
zarzet de142abae6 refactor(library): share the scan completion tail as _finishScan
The full-scan and incremental branches of _runScan ended with the same
sequence: source state update, last-scanned prefs, summary refresh, the
mounted check, the final state, log and completion notification. Move
that sequence into _finishScan. The only differences, the cover cache
prune after a full scan and the summary text, become parameters; the
summary stays a closure so it still reads the state after the final
update. Each call is the last statement of its branch, so the early
return on unmount keeps the same effect.
2026-10-19 01:18:02 +07:00
..