Skip to content

Commit

Permalink
Mark SortFeature as an interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Abestanis committed Oct 13, 2024
1 parent 98bb949 commit ddeb4df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logic/models/sort.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ enum SortOrder {
}

/// Interface for other sort feature enums.
abstract class SortFeature<T extends Content> {
abstract interface class SortFeature<T extends Content> {
/// Returns sort feature values for a given content.
static List<SortFeature<T>> getValuesForContent<T extends Content>(ContentType<T> contentType) {
switch (contentType as ContentType) {
Expand Down

0 comments on commit ddeb4df

Please sign in to comment.