Skip to content

armgit / ente

Public Imported from GitHub
0

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

Remove contacts preview width refetch

ashilkn351fcf127b24
diff --git a/mobile/apps/photos/lib/ui/viewer/search_tab/contacts_section.dart b/mobile/apps/photos/lib/ui/viewer/search_tab/contacts_section.dart
index 8631e4447c..b0a5950a2f 100644
--- a/mobile/apps/photos/lib/ui/viewer/search_tab/contacts_section.dart
+++ b/mobile/apps/photos/lib/ui/viewer/search_tab/contacts_section.dart
@@ -52,14 +52,6 @@ class _ContactsSectionLoaderState extends State<ContactsSectionLoader> {
},
);
}
-
- @override
- void didUpdateWidget(covariant ContactsSectionLoader oldWidget) {
- super.didUpdateWidget(oldWidget);
- if (oldWidget.resultLimit != widget.resultLimit) {
- _contactsFuture = null;
- }
- }
}
class ContactsLoadingSection extends StatelessWidget {