diff --git a/app/lib/ui/flow/albums/media_list/album_media_list_state_notifier.dart b/app/lib/ui/flow/albums/media_list/album_media_list_state_notifier.dart index 7e2547a..b70b779 100644 --- a/app/lib/ui/flow/albums/media_list/album_media_list_state_notifier.dart +++ b/app/lib/ui/flow/albums/media_list/album_media_list_state_notifier.dart @@ -197,7 +197,9 @@ class AlbumMediaListStateNotifier extends StateNotifier { if (state.album.source == AppMediaSource.local) { await _localMediaService.updateAlbum( state.album.copyWith( - medias: append ? [...state.album.medias, ...medias] : medias, + medias: (append ? [...state.album.medias, ...medias] : medias) + .toSet() + .toList(), ), ); } else if (state.album.source == AppMediaSource.googleDrive) { diff --git a/data/lib/domain/config.dart b/data/lib/domain/config.dart index 4a454f6..6227587 100644 --- a/data/lib/domain/config.dart +++ b/data/lib/domain/config.dart @@ -16,5 +16,5 @@ class LocalDatabaseConstants { } class FeatureFlag { - static final googleDriveSupport = true; + static final googleDriveSupport = false; }