mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-15 05:33:59 +08:00
@@ -18,11 +18,11 @@ import 'package:get/get.dart';
|
||||
class WhisperDetailController extends CommonListController<RspSessionMsg, Msg> {
|
||||
late final account = Accounts.main;
|
||||
|
||||
final int talkerId = Get.arguments['talkerId'];
|
||||
final String name = Get.arguments['name'];
|
||||
final String face = Get.arguments['face'];
|
||||
final int? mid = Get.arguments['mid'];
|
||||
final bool isLive = Get.arguments['isLive'] ?? false;
|
||||
late final int talkerId;
|
||||
late final String name;
|
||||
late final String face;
|
||||
late final int? mid;
|
||||
late final bool isLive;
|
||||
|
||||
Int64? msgSeqno;
|
||||
|
||||
@@ -32,6 +32,12 @@ class WhisperDetailController extends CommonListController<RspSessionMsg, Msg> {
|
||||
@override
|
||||
void onInit() {
|
||||
super.onInit();
|
||||
final args = Get.arguments;
|
||||
talkerId = args['talkerId'];
|
||||
name = args['name'];
|
||||
face = args['face'];
|
||||
mid = args['mid'];
|
||||
isLive = args['isLive'] ?? false;
|
||||
queryData();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user