mod: lint

mod: tweaks

opt: publish page

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-04 11:37:13 +08:00
parent 2cfad80214
commit caa58e9d7d
313 changed files with 2751 additions and 2789 deletions

View File

@@ -9,7 +9,7 @@ enum LiveQuality {
}
extension LiveQualityCode on LiveQuality {
static final List<int> _codeList = [
static const List<int> _codeList = [
30000,
20000,
10000,
@@ -27,17 +27,14 @@ extension LiveQualityCode on LiveQuality {
}
return null;
}
}
extension VideoQualityDesc on LiveQuality {
static final List<String> _descList = [
'杜比',
'4K',
'原画',
'蓝光',
'',
'高清',
'流畅',
];
String get description => _descList[index];
String get description => const [
'杜比',
'4K',
'原画',
'蓝光',
'超清',
'',
'流畅',
][index];
}