From 949909631ad574ee10ade00dfa97ebaff3e3978d Mon Sep 17 00:00:00 2001 From: laurenspriem Date: Fri, 7 Mar 2025 14:09:01 +0530 Subject: [PATCH] [mob][photos] don't sort debug memories --- mobile/lib/models/search/search_types.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mobile/lib/models/search/search_types.dart b/mobile/lib/models/search/search_types.dart index e3e5e19136..25ee531ad9 100644 --- a/mobile/lib/models/search/search_types.dart +++ b/mobile/lib/models/search/search_types.dart @@ -112,7 +112,11 @@ extension SectionTypeExtensions on SectionType { } } - bool get sortByName => this != SectionType.face && this != SectionType.magic; + // TODO: lau: check if we should sort moment again + bool get sortByName => + this != SectionType.face && + this != SectionType.magic && + this != SectionType.moment; bool get isEmptyCTAVisible { switch (this) {