diff --git a/lib/widget/home_photos.dart b/lib/widget/home_photos.dart index b2ebb6b0..034bc2dd 100644 --- a/lib/widget/home_photos.dart +++ b/lib/widget/home_photos.dart @@ -319,8 +319,8 @@ class _HomePhotosState extends State album.copyWith( provider: AlbumStaticProvider( items: makeDistinctAlbumItems([ - ...AlbumStaticProvider.of(album).items, ...selected, + ...AlbumStaticProvider.of(album).items, ]), ), )); diff --git a/lib/widget/viewer_detail_pane.dart b/lib/widget/viewer_detail_pane.dart index 0441defc..444bfcd8 100644 --- a/lib/widget/viewer_detail_pane.dart +++ b/lib/widget/viewer_detail_pane.dart @@ -372,8 +372,8 @@ class _ViewerDetailPaneState extends State { album.copyWith( provider: AlbumStaticProvider( items: [ - ...AlbumStaticProvider.of(album).items, AlbumFileItem(file: widget.file), + ...AlbumStaticProvider.of(album).items, ], ), ));