Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Update empty state to use ReceivedEmptyState in AlbumsTab

AmanRajSinghMouryae9a55d8d34cb
diff --git a/mobile/apps/photos/lib/ui/tabs/albums_tab.dart b/mobile/apps/photos/lib/ui/tabs/albums_tab.dart
index 0656ef337c..ddec18aa16 100644
--- a/mobile/apps/photos/lib/ui/tabs/albums_tab.dart
+++ b/mobile/apps/photos/lib/ui/tabs/albums_tab.dart
@@ -30,6 +30,7 @@ import "package:photos/ui/common/loading_widget.dart";
import "package:photos/ui/components/empty_state_component.dart";
import "package:photos/ui/tabs/albums/albums_manage_sheet.dart";
import "package:photos/ui/tabs/albums/empty_states/on_ente_empty_state.dart";
+import "package:photos/ui/tabs/albums/empty_states/received_empty_state.dart";
import "package:photos/ui/tabs/albums/empty_states/shared_empty_state.dart";
import "package:photos/ui/viewer/actions/album_selection_overlay_bar.dart";
import "package:photos/ui/viewer/actions/delete_empty_albums.dart";
@@ -565,7 +566,7 @@ class _AlbumsTabState extends State<AlbumsTab>
case _AlbumsFilter.received:
collections = _receivedCollections.value;
showCreateAlbum = false;
- emptyState = const SharedEmptyState();
+ emptyState = const ReceivedEmptyState();
case _AlbumsFilter.onDevice:
return DeviceFolderVerticalGridSliver(
searchQuery: _searchQuery.trim(),