π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] fix: hide "add new album" options when any album is selected
Aman Raj Singh Mouryadaa3fcd354fa
diff --git a/mobile/lib/ui/collections/flex_grid_view.dart b/mobile/lib/ui/collections/flex_grid_view.dartindex 646fd7a359..bc3a6bfa5b 100644--- a/mobile/lib/ui/collections/flex_grid_view.dart+++ b/mobile/lib/ui/collections/flex_grid_view.dart@@ -111,7 +111,7 @@ class _CollectionsFlexiGridViewWidgetStatealbumsCountInOneRow;final List<Widget> gridItems = [];- if (widget.shouldShowCreateAlbum) {+ if (widget.shouldShowCreateAlbum && !isAnyAlbumSelected) {gridItems.add(NewAlbumRowItemWidget(height: sideOfThumbnail,@@ -168,7 +168,7 @@ class _CollectionsFlexiGridViewWidgetStateWidget _buildListView(BuildContext context, Key key) {final List<Widget> listItems = [];- if (widget.shouldShowCreateAlbum) {+ if (widget.shouldShowCreateAlbum && !isAnyAlbumSelected) {listItems.add(GestureDetector(onTap: () async {