File tree 2 files changed +1
-7
lines changed
2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,6 @@ class AlbumNotifier extends StateNotifier<List<Album>> {
30
30
late final StreamSubscription <List <Album >> _streamSub;
31
31
32
32
Future <void > refreshRemoteAlbums () async {
33
- final isRefresing =
34
- ref.read (isRefreshingRemoteAlbumProvider.notifier).state;
35
-
36
- if (isRefresing) return ;
37
-
38
33
ref.read (isRefreshingRemoteAlbumProvider.notifier).state = true ;
39
34
await _albumService.refreshRemoteAlbums ();
40
35
ref.read (isRefreshingRemoteAlbumProvider.notifier).state = false ;
Original file line number Diff line number Diff line change @@ -797,8 +797,7 @@ class SyncService {
797
797
assets.sort (Asset .compareByOwnerChecksumCreatedModified);
798
798
assets.uniqueConsecutive (
799
799
compare: Asset .compareByOwnerChecksum,
800
- onDuplicate: (a, b) =>
801
- _log.info ("Ignoring duplicate assets on device:\n $a \n $b " ),
800
+ onDuplicate: (a, b) => {},
802
801
);
803
802
final int duplicates = before - assets.length;
804
803
if (duplicates > 0 ) {
You can’t perform that action at this time.
0 commit comments