Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Rename var

laurenspriema05d7d866034
diff --git a/mobile/lib/ui/viewer/people/people_page.dart b/mobile/lib/ui/viewer/people/people_page.dart
index db2f225c4e..ee1c787e50 100644
--- a/mobile/lib/ui/viewer/people/people_page.dart
+++ b/mobile/lib/ui/viewer/people/people_page.dart
@@ -46,14 +46,14 @@ class _PeoplePageState extends State<PeoplePage> {
int? smallestClusterSize;
Future<List<EnteFile>> filesFuture = Future.value([]);
- bool get showSuggestionBanner => (!userDismissed &&
+ bool get showSuggestionBanner => (!userDismissedSuggestionBanner &&
smallestClusterSize != null &&
smallestClusterSize! >= kMinimumClusterSizeSearchResult &&
files != null &&
files!.isNotEmpty &&
files!.length > 200);
- bool userDismissed = false;
+ bool userDismissedSuggestionBanner = false;
late final StreamSubscription<LocalPhotosUpdatedEvent> _filesUpdatedEvent;
late final StreamSubscription<PeopleChangedEvent> _peopleChangedEvent;
@@ -133,7 +133,7 @@ class _PeoplePageState extends State<PeoplePage> {
direction: DismissDirection.horizontal,
onDismissed: (direction) {
setState(() {
- userDismissed = true;
+ userDismissedSuggestionBanner = true;
});
},
child: RepaintBoundary(