mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: add live emoticonUnique
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -93,6 +93,7 @@ class _ReplyPageState extends CommonPublishPageState<LiveSendDmPanel> {
|
||||
message: emote.emoticonUnique!,
|
||||
dmType: 1,
|
||||
emoticonOptions: '[object Object]',
|
||||
emoticonUnique: emote.emoji,
|
||||
);
|
||||
},
|
||||
),
|
||||
@@ -218,6 +219,7 @@ class _ReplyPageState extends CommonPublishPageState<LiveSendDmPanel> {
|
||||
List? pictures,
|
||||
int? dmType,
|
||||
emoticonOptions,
|
||||
emoticonUnique,
|
||||
}) async {
|
||||
if (!liveRoomController.isLogin) {
|
||||
SmartDialog.showToast('未登录');
|
||||
@@ -235,7 +237,7 @@ class _ReplyPageState extends CommonPublishPageState<LiveSendDmPanel> {
|
||||
SmartDialog.showToast('发送成功');
|
||||
liveRoomController.plPlayerController.danmakuController?.addDanmaku(
|
||||
DanmakuContentItem(
|
||||
message,
|
||||
emoticonUnique ?? message,
|
||||
type: DanmakuItemType.scroll,
|
||||
selfSend: true,
|
||||
),
|
||||
|
||||
@@ -263,6 +263,7 @@ class _LiveRoomPageState extends State<LiveRoomPage>
|
||||
}
|
||||
|
||||
Widget get _buildPH => Scaffold(
|
||||
resizeToAvoidBottomInset: false,
|
||||
appBar: _buildAppBar,
|
||||
backgroundColor: Colors.transparent,
|
||||
body: Column(
|
||||
@@ -271,6 +272,7 @@ class _LiveRoomPageState extends State<LiveRoomPage>
|
||||
);
|
||||
|
||||
Widget get _buildPP => Scaffold(
|
||||
resizeToAvoidBottomInset: false,
|
||||
backgroundColor: Colors.transparent,
|
||||
body: Stack(
|
||||
children: [
|
||||
|
||||
Reference in New Issue
Block a user