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!,
|
message: emote.emoticonUnique!,
|
||||||
dmType: 1,
|
dmType: 1,
|
||||||
emoticonOptions: '[object Object]',
|
emoticonOptions: '[object Object]',
|
||||||
|
emoticonUnique: emote.emoji,
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
@@ -218,6 +219,7 @@ class _ReplyPageState extends CommonPublishPageState<LiveSendDmPanel> {
|
|||||||
List? pictures,
|
List? pictures,
|
||||||
int? dmType,
|
int? dmType,
|
||||||
emoticonOptions,
|
emoticonOptions,
|
||||||
|
emoticonUnique,
|
||||||
}) async {
|
}) async {
|
||||||
if (!liveRoomController.isLogin) {
|
if (!liveRoomController.isLogin) {
|
||||||
SmartDialog.showToast('未登录');
|
SmartDialog.showToast('未登录');
|
||||||
@@ -235,7 +237,7 @@ class _ReplyPageState extends CommonPublishPageState<LiveSendDmPanel> {
|
|||||||
SmartDialog.showToast('发送成功');
|
SmartDialog.showToast('发送成功');
|
||||||
liveRoomController.plPlayerController.danmakuController?.addDanmaku(
|
liveRoomController.plPlayerController.danmakuController?.addDanmaku(
|
||||||
DanmakuContentItem(
|
DanmakuContentItem(
|
||||||
message,
|
emoticonUnique ?? message,
|
||||||
type: DanmakuItemType.scroll,
|
type: DanmakuItemType.scroll,
|
||||||
selfSend: true,
|
selfSend: true,
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -263,6 +263,7 @@ class _LiveRoomPageState extends State<LiveRoomPage>
|
|||||||
}
|
}
|
||||||
|
|
||||||
Widget get _buildPH => Scaffold(
|
Widget get _buildPH => Scaffold(
|
||||||
|
resizeToAvoidBottomInset: false,
|
||||||
appBar: _buildAppBar,
|
appBar: _buildAppBar,
|
||||||
backgroundColor: Colors.transparent,
|
backgroundColor: Colors.transparent,
|
||||||
body: Column(
|
body: Column(
|
||||||
@@ -271,6 +272,7 @@ class _LiveRoomPageState extends State<LiveRoomPage>
|
|||||||
);
|
);
|
||||||
|
|
||||||
Widget get _buildPP => Scaffold(
|
Widget get _buildPP => Scaffold(
|
||||||
|
resizeToAvoidBottomInset: false,
|
||||||
backgroundColor: Colors.transparent,
|
backgroundColor: Colors.transparent,
|
||||||
body: Stack(
|
body: Stack(
|
||||||
children: [
|
children: [
|
||||||
|
|||||||
Reference in New Issue
Block a user