feat: 初步自动连播功能;分享新增其它app打开

This commit is contained in:
orz12
2024-07-12 23:21:25 +08:00
parent 2de9642027
commit 8dc89214cb
4 changed files with 73 additions and 11 deletions

View File

@@ -3,6 +3,7 @@ enum PlayRepeat {
listOrder,
singleCycle,
listCycle,
autoPlayRelated,
}
extension PlayRepeatExtension on PlayRepeat {
@@ -11,6 +12,7 @@ extension PlayRepeatExtension on PlayRepeat {
'顺序播放',
'单个循环',
'列表循环',
'自动连播',
];
String get description => _descList[index];
@@ -19,6 +21,7 @@ extension PlayRepeatExtension on PlayRepeat {
2,
3,
4,
5,
];
double get value => _valueList[index];
double get defaultValue => _valueList[1];