π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Rename
laurenspriem1c780c4b0207
diff --git a/mobile/apps/photos/lib/ui/viewer/search_tab/moments_section.dart b/mobile/apps/photos/lib/ui/viewer/search_tab/memories_debug_section.dartsimilarity index 96%rename from mobile/apps/photos/lib/ui/viewer/search_tab/moments_section.dartrename to mobile/apps/photos/lib/ui/viewer/search_tab/memories_debug_section.dartindex 85496fbc90..98dddae6a1 100644--- a/mobile/apps/photos/lib/ui/viewer/search_tab/moments_section.dart+++ b/mobile/apps/photos/lib/ui/viewer/search_tab/memories_debug_section.dart@@ -16,15 +16,15 @@ import "package:photos/ui/viewer/search/search_section_cta.dart";import "package:photos/ui/viewer/search_tab/section_header.dart";import "package:photos/utils/navigation_util.dart";-class MomentsSection extends StatefulWidget {+class MemoriesDebugSection extends StatefulWidget {final List<GenericSearchResult> momentsSearchResults;- const MomentsSection(this.momentsSearchResults, {super.key});+ const MemoriesDebugSection(this.momentsSearchResults, {super.key});@override- State<MomentsSection> createState() => _MomentsSectionState();+ State<MemoriesDebugSection> createState() => _MemoriesDebugSectionState();}-class _MomentsSectionState extends State<MomentsSection> {+class _MemoriesDebugSectionState extends State<MemoriesDebugSection> {late List<GenericSearchResult> _momentsSearchResults;final streamSubscriptions = <StreamSubscription>[];@@ -56,7 +56,7 @@ class _MomentsSectionState extends State<MomentsSection> {}@override- void didUpdateWidget(covariant MomentsSection oldWidget) {+ void didUpdateWidget(covariant MemoriesDebugSection oldWidget) {super.didUpdateWidget(oldWidget);_momentsSearchResults = widget.momentsSearchResults;}diff --git a/mobile/apps/photos/lib/ui/viewer/search_tab/search_tab.dart b/mobile/apps/photos/lib/ui/viewer/search_tab/search_tab.dartindex 935e5c8064..e849c2ead2 100644--- a/mobile/apps/photos/lib/ui/viewer/search_tab/search_tab.dart+++ b/mobile/apps/photos/lib/ui/viewer/search_tab/search_tab.dart@@ -19,7 +19,7 @@ import 'package:photos/ui/viewer/search_tab/albums_section.dart';import "package:photos/ui/viewer/search_tab/file_type_section.dart";import "package:photos/ui/viewer/search_tab/locations_section.dart";import "package:photos/ui/viewer/search_tab/magic_section.dart";-import "package:photos/ui/viewer/search_tab/moments_section.dart";+import "package:photos/ui/viewer/search_tab/memories_debug_section.dart";import "package:photos/ui/viewer/search_tab/people_section.dart";class SearchTab extends StatefulWidget {@@ -133,7 +133,7 @@ class _AllSearchSectionsState extends State<AllSearchSections> {case SectionType.memoriesDebug:if (flagService.internalUser &&localSettings.isDebugMemoriesEnabled) {- return MomentsSection(+ return MemoriesDebugSection(snapshot.data!.elementAt(index)as List<GenericSearchResult>,);