mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-22 10:06:23 +08:00
mod: lint
mod: tweaks opt: publish page Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import 'datum.dart';
|
||||
import 'package:PiliPlus/models/live/live_emoticons/datum.dart';
|
||||
|
||||
class LiveEmoteData {
|
||||
int? fansBrand;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import 'emoticon.dart';
|
||||
import 'top_show.dart';
|
||||
import 'top_show_recent.dart';
|
||||
import 'package:PiliPlus/models/live/live_emoticons/emoticon.dart';
|
||||
import 'package:PiliPlus/models/live/live_emoticons/top_show.dart';
|
||||
import 'package:PiliPlus/models/live/live_emoticons/top_show_recent.dart';
|
||||
|
||||
class LiveEmoteDatum {
|
||||
List<LiveEmoticon>? emoticons;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import 'data.dart';
|
||||
import 'package:PiliPlus/models/live/live_emoticons/data.dart';
|
||||
|
||||
class LiveEmoticons {
|
||||
int? code;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import 'top_left.dart';
|
||||
import 'top_right.dart';
|
||||
import 'package:PiliPlus/models/live/live_emoticons/top_left.dart';
|
||||
import 'package:PiliPlus/models/live/live_emoticons/top_right.dart';
|
||||
|
||||
class TopShow {
|
||||
TopLeft? topLeft;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import 'top_left.dart';
|
||||
import 'top_right.dart';
|
||||
import 'package:PiliPlus/models/live/live_emoticons/top_left.dart';
|
||||
import 'package:PiliPlus/models/live/live_emoticons/top_right.dart';
|
||||
|
||||
class TopShowRecent {
|
||||
TopLeft? topLeft;
|
||||
|
||||
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user