Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(lints): analyze issues #114

Merged
merged 1 commit into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions lib/versions/v3/category/discover.dart
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,6 @@ class Discover extends Category<V3> {
return 'vote_count.asc';
case SortMoviesBy.voteCountDesc:
return 'vote_count.desc';
default:
return 'popularity.asc';
}
}

Expand All @@ -399,8 +397,6 @@ class Discover extends Category<V3> {
return 'first_air_date.asc';
case SortTvShowsBy.firstAirDateDesc:
return 'first_air_date.desc';
default:
return 'popularity.asc';
}
}

Expand All @@ -418,8 +414,6 @@ class Discover extends Category<V3> {
return '4';
case FilterTvShowsByStatus.pilot:
return '5';
default:
return '0';
}
}

Expand All @@ -439,8 +433,6 @@ class Discover extends Category<V3> {
return '5';
case FilterTvShowsByType.video:
return '6';
default:
return '0';
}
}
}
2 changes: 0 additions & 2 deletions lib/versions/v3/category/find.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ class Find extends Category<V3> {
return 'external_source=twitter_id';
case ExternalId.instagramId:
return 'external_source=instagram_id';
default:
return 'external_source=imdb_id';
}
}
}
4 changes: 0 additions & 4 deletions lib/versions/v3/category/trending.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ class Trending extends Category<V3> {
return 'tv';
case MediaType.person:
return 'person';
default:
return 'all';
}
}

Expand All @@ -62,8 +60,6 @@ class Trending extends Category<V3> {
return 'day';
case TimeWindow.week:
return 'week';
default:
return 'week';
}
}
}
2 changes: 0 additions & 2 deletions lib/versions/v4/category/lists.dart
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,6 @@ class ListsV4 extends Category<V4> {
return 'vote_average.asc';
case SortListBy.voteAverageDesc:
return 'vote_average.desc';
default:
return 'original_order.asc';
}
}

Expand Down
Loading