TF-2323 Update quick_search_filter

(cherry picked from commit 85b94923c14e65daf7f6d72fc85609a284ac17a9)
This commit is contained in:
hieubt
2023-11-26 13:44:58 +07:00
committed by Dat H. Pham
parent a2f22cb2bf
commit 4640ed6c8e
@@ -96,9 +96,7 @@ enum QuickSearchFilter {
case QuickSearchFilter.last7Days:
return true;
case QuickSearchFilter.fromMe:
return userProfile != null &&
filter.from.contains(userProfile.email) &&
filter.from.length == 1;
return filter.from.length == 1;
case QuickSearchFilter.sortBy:
return true;
}