mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 08:08:19 +08:00
@@ -77,7 +77,7 @@ class LiveRoomController extends GetxController {
|
||||
|
||||
final RxBool isPortrait = false.obs;
|
||||
|
||||
Future queryLiveInfo() async {
|
||||
Future<void> queryLiveInfo() async {
|
||||
if (currentQn == null) {
|
||||
await Connectivity().checkConnectivity().then((res) {
|
||||
currentQn = res.contains(ConnectivityResult.wifi)
|
||||
@@ -122,7 +122,7 @@ class LiveRoomController extends GetxController {
|
||||
}
|
||||
}
|
||||
|
||||
Future queryLiveInfoH5() async {
|
||||
Future<void> queryLiveInfoH5() async {
|
||||
var res = await LiveHttp.liveRoomInfoH5(roomId: roomId);
|
||||
if (res['status']) {
|
||||
roomInfoH5.value = res['data'];
|
||||
|
||||
@@ -188,7 +188,7 @@ class _ReplyPageState extends CommonPublishPageState<LiveSendDmPanel> {
|
||||
}
|
||||
|
||||
@override
|
||||
Future onCustomPublish({
|
||||
Future<void> onCustomPublish({
|
||||
required String message,
|
||||
List? pictures,
|
||||
int? dmType,
|
||||
|
||||
Reference in New Issue
Block a user