fix(library): preserve indexed tracks when a full scan is incomplete

This commit is contained in:
zarzet committed 2026-09-28 12:13:17 +07:00
1 parent 4c2c356763
commit e3bec31b36
6 files changed
+86 -11

No files matched your search

+1 -1
View File
@@ -802,7 +802,7 @@ class LocalLibraryNotifier extends Notifier<LocalLibraryState> {
}
}
if (_scanCancelRequested) {
if (_scanCancelRequested || result['cancelled'] == true) {
state = state.copyWith(
isScanning: false,
scanIsFinalizing: false,