[mob][photos] Chore
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user