Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-06-21 12:46:34 +08:00
parent 5f3f158932
commit 604d78ad6a
161 changed files with 4873 additions and 4770 deletions

View File

@@ -1,5 +1,10 @@
enum ActionType { skip, mute, full, poi }
enum ActionType {
skip('跳过'),
mute('静音'),
full('整个视频'),
poi('精彩时刻'),
;
extension ActionTypeExt on ActionType {
String get title => const ['跳过', '静音', '整个视频', '精彩时刻'][index];
final String title;
const ActionType(this.title);
}

View File

@@ -1,5 +1,11 @@
enum SkipType { alwaysSkip, skipOnce, skipManually, showOnly, disable }
enum SkipType {
alwaysSkip('总是跳过'),
skipOnce('跳过一次'),
skipManually('手动跳过'),
showOnly('仅显示'),
disable('禁用'),
;
extension SkipTypeExt on SkipType {
String get title => const ['总是跳过', '跳过一次', '手动跳过', '仅显示', '禁用'][index];
final String title;
const SkipType(this.title);
}