π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
remove unnecessary variable
ashilkn08634739dc4b
diff --git a/lib/ui/viewer/search/result/search_section_all_page.dart b/lib/ui/viewer/search/result/search_section_all_page.dartindex 5618b70cba..89c7046263 100644--- a/lib/ui/viewer/search/result/search_section_all_page.dart+++ b/lib/ui/viewer/search/result/search_section_all_page.dart@@ -25,7 +25,6 @@ class SearchSectionAllPage extends StatefulWidget {class _SearchSectionAllPageState extends State<SearchSectionAllPage> {late Future<List<SearchResult>> sectionData;- late final bool _showCTATile;final streamSubscriptions = <StreamSubscription>[];@override@@ -47,7 +46,6 @@ class _SearchSectionAllPageState extends State<SearchSectionAllPage> {void didChangeDependencies() {super.didChangeDependencies();sectionData = widget.sectionType.getData(limit: null, context: context);- _showCTATile = widget.sectionType.isCTAVisible;}@override@@ -163,7 +161,8 @@ class _SearchSectionAllPageState extends State<SearchSectionAllPage> {separatorBuilder: (context, index) {return const SizedBox(height: 10);},- itemCount: sectionResults.length + (_showCTATile ? 1 : 0),+ itemCount: sectionResults.length ++ (widget.sectionType.isCTAVisible ? 1 : 0),physics: const BouncingScrollPhysics(),//This cache extend is needed for creating a new album//using SearchSectionCTATile to work. This is so that