Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Don't show emptyCTA for faces in people full page

laurenspriem8c373857a285
diff --git a/mobile/lib/models/search/search_types.dart b/mobile/lib/models/search/search_types.dart
index ad13e04806..a13fd57dcb 100644
--- a/mobile/lib/models/search/search_types.dart
+++ b/mobile/lib/models/search/search_types.dart
@@ -101,7 +101,7 @@ extension SectionTypeExtensions on SectionType {
bool get isCTAVisible {
switch (this) {
case SectionType.face:
- return true;
+ return false;
case SectionType.content:
return false;
case SectionType.moment:
@@ -124,7 +124,7 @@ extension SectionTypeExtensions on SectionType {
bool get isEmptyCTAVisible {
switch (this) {
case SectionType.face:
- return true;
+ return false;
case SectionType.content:
return false;
case SectionType.moment: