High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
chore(mobile): clean up (#13338)
Alex4ce49e4666fe
diff --git a/mobile/lib/providers/album/album.provider.dart b/mobile/lib/providers/album/album.provider.dartindex 943671f188..53c8855c0a 100644--- a/mobile/lib/providers/album/album.provider.dart+++ b/mobile/lib/providers/album/album.provider.dart@@ -30,11 +30,6 @@ class AlbumNotifier extends StateNotifier<List<Album>> {late final StreamSubscription<List<Album>> _streamSub;Future<void> refreshRemoteAlbums() async {- final isRefresing =- ref.read(isRefreshingRemoteAlbumProvider.notifier).state;-- if (isRefresing) return;-ref.read(isRefreshingRemoteAlbumProvider.notifier).state = true;await _albumService.refreshRemoteAlbums();ref.read(isRefreshingRemoteAlbumProvider.notifier).state = false;diff --git a/mobile/lib/services/sync.service.dart b/mobile/lib/services/sync.service.dartindex d691b006ad..f1a6e9b0d7 100644--- a/mobile/lib/services/sync.service.dart+++ b/mobile/lib/services/sync.service.dart@@ -797,8 +797,7 @@ class SyncService {assets.sort(Asset.compareByOwnerChecksumCreatedModified);assets.uniqueConsecutive(compare: Asset.compareByOwnerChecksum,- onDuplicate: (a, b) =>- _log.info("Ignoring duplicate assets on device:\n$a\n$b"),+ onDuplicate: (a, b) => {},);final int duplicates = before - assets.length;if (duplicates > 0) {