Skip to content

Commit 04d368f

Browse files
committed
refactor: remove unused country search type
- Removed country search type - Updated display names
1 parent bb6b0f7 commit 04d368f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/headlines-search/models/search_model_type.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
enum SearchModelType {
33
headline,
44
category,
5-
country,
5+
// country, // Removed
66
source;
77

88
/// Returns a user-friendly display name for the enum value.
@@ -16,8 +16,8 @@ enum SearchModelType {
1616
return 'Headlines';
1717
case SearchModelType.category:
1818
return 'Categories';
19-
case SearchModelType.country:
20-
return 'Countries';
19+
// case SearchModelType.country: // Removed
20+
// return 'Countries'; // Removed
2121
case SearchModelType.source:
2222
return 'Sources';
2323
}

0 commit comments

Comments
 (0)