feat: 按排序查看评论
This commit is contained in:
6
lib/models/common/reply_sort_type.dart
Normal file
6
lib/models/common/reply_sort_type.dart
Normal file
@ -0,0 +1,6 @@
|
||||
enum ReplySortType { time, like, reply }
|
||||
|
||||
extension ReplySortTypeExtension on ReplySortType {
|
||||
String get titles => ['最新评论', '最热评论', '回复最多'][index];
|
||||
String get labels => ['最新', '最热', '最多回复'][index];
|
||||
}
|
||||
Reference in New Issue
Block a user