mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 16:48:16 +08:00
@@ -926,7 +926,7 @@ class VideoDetailController extends GetxController
|
|||||||
if (isPlaying) {
|
if (isPlaying) {
|
||||||
await plPlayerController.pause();
|
await plPlayerController.pause();
|
||||||
}
|
}
|
||||||
await Navigator.of(Get.context!).push(
|
Navigator.of(Get.context!).push(
|
||||||
GetDialogRoute(
|
GetDialogRoute(
|
||||||
pageBuilder: (buildContext, animation, secondaryAnimation) {
|
pageBuilder: (buildContext, animation, secondaryAnimation) {
|
||||||
return SendDanmakuPanel(
|
return SendDanmakuPanel(
|
||||||
|
|||||||
@@ -117,7 +117,13 @@ class WhisperController extends GetxController {
|
|||||||
if (accountInfo != null) {
|
if (accountInfo != null) {
|
||||||
i.accountInfo = accountInfo;
|
i.accountInfo = accountInfo;
|
||||||
}
|
}
|
||||||
if (i.talkerId == 844424930131966) {
|
if (i.talkerId == 0) {
|
||||||
|
i.accountInfo = AccountListModel(
|
||||||
|
name: '客服消息',
|
||||||
|
face:
|
||||||
|
'https://i0.hdslb.com/bfs/activity-plat/static/20230809/f87fc7ea98282a4dd48ec7743044b0bf/OWdoP9ZXAX.png',
|
||||||
|
);
|
||||||
|
} else if (i.talkerId == 844424930131966) {
|
||||||
i.accountInfo = AccountListModel(
|
i.accountInfo = AccountListModel(
|
||||||
name: 'UP主小助手',
|
name: 'UP主小助手',
|
||||||
face:
|
face:
|
||||||
|
|||||||
@@ -244,14 +244,17 @@ class _WhisperPageState extends State<WhisperPage> {
|
|||||||
Get.toNamed(
|
Get.toNamed(
|
||||||
'/whisperDetail',
|
'/whisperDetail',
|
||||||
parameters: {
|
parameters: {
|
||||||
'talkerId': sessionList[i]
|
'talkerId':
|
||||||
.talkerId
|
'${sessionList[i].talkerId}',
|
||||||
.toString(),
|
'name': sessionList[i]
|
||||||
'name':
|
.accountInfo
|
||||||
sessionList[i].accountInfo.name,
|
?.name ??
|
||||||
'face':
|
'',
|
||||||
sessionList[i].accountInfo.face,
|
'face': sessionList[i]
|
||||||
if (sessionList[i].accountInfo.mid !=
|
.accountInfo
|
||||||
|
?.face ??
|
||||||
|
'',
|
||||||
|
if (sessionList[i].accountInfo?.mid !=
|
||||||
null)
|
null)
|
||||||
'mid': sessionList[i]
|
'mid': sessionList[i]
|
||||||
.accountInfo
|
.accountInfo
|
||||||
@@ -281,7 +284,8 @@ class _WhisperPageState extends State<WhisperPage> {
|
|||||||
),
|
),
|
||||||
title: Text(
|
title: Text(
|
||||||
sessionList[i].accountInfo?.name ?? ""),
|
sessionList[i].accountInfo?.name ?? ""),
|
||||||
subtitle: Text(content,
|
subtitle: Text(
|
||||||
|
'$content',
|
||||||
maxLines: 1,
|
maxLines: 1,
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
style: Theme.of(context)
|
style: Theme.of(context)
|
||||||
@@ -290,7 +294,8 @@ class _WhisperPageState extends State<WhisperPage> {
|
|||||||
.copyWith(
|
.copyWith(
|
||||||
color: Theme.of(context)
|
color: Theme.of(context)
|
||||||
.colorScheme
|
.colorScheme
|
||||||
.outline)),
|
.outline),
|
||||||
|
),
|
||||||
trailing: Text(
|
trailing: Text(
|
||||||
Utils.dateFormat(
|
Utils.dateFormat(
|
||||||
sessionList[i].lastMsg.timestamp,
|
sessionList[i].lastMsg.timestamp,
|
||||||
|
|||||||
Reference in New Issue
Block a user