* tweak

* opt: async

* tweak

* opt: PopularSeries tile

* tweak

* opt: sc

* mod: more account type

* tweak

* opt: qrcode

* tweak

* partial revert: opt: sc

* fix

* fix

* mod: window enqueue
This commit is contained in:
My-Responsitories
2025-09-26 00:02:55 +08:00
committed by GitHub
parent 67c25bd130
commit 4ae3bd2845
29 changed files with 520 additions and 554 deletions

View File

@@ -241,7 +241,7 @@ class LiveRoomController extends GetxController {
Future<void> getSuperChatMsg() async {
final res = await LiveHttp.superChatMsg(roomId);
if (res.dataOrNull?.list case List<SuperChatItem> list) {
if (res.dataOrNull?.list case final list?) {
superChatMsg.addAll(list);
}
}
@@ -377,7 +377,7 @@ class LiveRoomController extends GetxController {
}
}
break;
case 'SUPER_CHAT_MESSAGE' when (showSuperChat):
case 'SUPER_CHAT_MESSAGE' when showSuperChat:
final item = SuperChatItem.fromJson(obj['data']);
superChatMsg.insert(0, item);
if (isFullScreen || plPlayerController.isDesktopPip) {
@@ -385,10 +385,8 @@ class LiveRoomController extends GetxController {
}
break;
}
} catch (e) {
if (kDebugMode) {
debugPrint('$e,,$obj');
}
} catch (_) {
if (kDebugMode) rethrow;
}
})
..init();