mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-10-20 22:41:38 +02:00
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.