Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] refactor: remove create album option and update item limit count

Aman Raj Singh Mourya0f31278965fa
diff --git a/mobile/lib/ui/collections/collection_list_page.dart b/mobile/lib/ui/collections/collection_list_page.dart
index 261c417c6a..da78a28bb9 100644
--- a/mobile/lib/ui/collections/collection_list_page.dart
+++ b/mobile/lib/ui/collections/collection_list_page.dart
@@ -114,8 +114,6 @@ class _CollectionListPageState extends State<CollectionListPage> {
tag: widget.tag,
enableSelectionMode: enableSelectionMode,
albumViewType: albumViewType ?? AlbumViewType.grid,
- shouldShowCreateAlbum:
- widget.sectionType == UISectionType.homeCollections,
selectedAlbums: _selectedAlbum,
),
],
diff --git a/mobile/lib/ui/collections/flex_grid_view.dart b/mobile/lib/ui/collections/flex_grid_view.dart
index ec7815e3df..86da018fc8 100644
--- a/mobile/lib/ui/collections/flex_grid_view.dart
+++ b/mobile/lib/ui/collections/flex_grid_view.dart
@@ -160,6 +160,7 @@ class _CollectionsFlexiGridViewWidgetState
sideOfThumbnail,
tag: widget.tag,
selectedAlbums: widget.selectedAlbums,
+ showFileCount: false,
onTapCallback: (c) {
isAnyAlbumSelected
? _toggleAlbumSelection(c)
diff --git a/mobile/lib/ui/tabs/user_collections_tab.dart b/mobile/lib/ui/tabs/user_collections_tab.dart
index 568f4238f3..ebf4d19c72 100644
--- a/mobile/lib/ui/tabs/user_collections_tab.dart
+++ b/mobile/lib/ui/tabs/user_collections_tab.dart
@@ -55,7 +55,7 @@ class _UserCollectionsTabState extends State<UserCollectionsTab>
leading: true,
);
- static const int _kOnEnteItemLimitCount = 9;
+ static const int _kOnEnteItemLimitCount = 12;
@override
void initState() {
super.initState();