mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-30 13:19:44 +02:00
fix(library): preserve indexed tracks when a full scan is incomplete
This commit is contained in:
1 parent
4c2c356763
commit
e3bec31b36
6 files changed
+86
-11
No files matched your search
@@ -802,7 +802,7 @@ class LocalLibraryNotifier extends Notifier<LocalLibraryState> {
|
||||
}
|
||||
}
|
||||
|
||||
if (_scanCancelRequested) {
|
||||
if (_scanCancelRequested || result['cancelled'] == true) {
|
||||
state = state.copyWith(
|
||||
isScanning: false,
|
||||
scanIsFinalizing: false,
|
||||
|
||||
Reference in new issue
Block a user