[mob][photos] Chore

This commit is contained in:
ashilkn
2024-11-06 18:42:01 +05:30
parent 64b113bd21
commit 6fa7e033d9
2 changed files with 4 additions and 5 deletions

View File

@@ -34,10 +34,9 @@ class FaceFilter extends HierarchicalSearchFilter {
@override
IconData? icon() {
return Icons.face;
// throw UnimplementedError(
// "FaceFilter does not need an icon, the face crop should be used instead",
// );
throw UnimplementedError(
"FaceFilter does not use an icon, the face crop should be used instead",
);
}
@override

View File

@@ -37,7 +37,7 @@ abstract class HierarchicalSearchFilter {
String name();
IconData? icon();
/// Will be [kmostRelevantFilter] if the filter is a Top-levl filter. For
/// Will be [kmostRelevantFilter] if the filter is a Top-level filter. For
/// example, when searching for an album 'A' and opening it, when
/// hierarchical search starts, the album 'A' will be the top level filter.
int relevance();