feat: comment can be closed
This commit is contained in:
18
lib/models/common/comment_range_type.dart
Normal file
18
lib/models/common/comment_range_type.dart
Normal file
@ -0,0 +1,18 @@
|
||||
enum CommentRangeType {
|
||||
video,
|
||||
bangumi,
|
||||
// dynamic,
|
||||
}
|
||||
|
||||
extension ActionTypeExtension on CommentRangeType {
|
||||
String get value => [
|
||||
'video',
|
||||
'bangumi',
|
||||
// 'dynamic',
|
||||
][index];
|
||||
String get label => [
|
||||
'视频',
|
||||
'番剧',
|
||||
// '动态',
|
||||
][index];
|
||||
}
|
||||
Reference in New Issue
Block a user