mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 19:28:27 +08:00
mod: 支持系统消息查看,美化界面,点击清除未读提示,支持未读刷新
修复私信页点击视频后反复提示已读成功的问题
This commit is contained in:
@@ -74,22 +74,33 @@ class _AtMePageState extends State<AtMePage> {
|
||||
src: _atMeController.msgFeedAtMeList[i].user?.avatar,
|
||||
),
|
||||
title: Text(
|
||||
"${_atMeController.msgFeedAtMeList[i].user?.nickname} "
|
||||
"在${_atMeController.msgFeedAtMeList[i].item?.business}中@了我",
|
||||
style: Theme.of(context).textTheme.bodyMedium!,
|
||||
),
|
||||
subtitle: Text(
|
||||
_atMeController
|
||||
.msgFeedAtMeList[i].item?.sourceContent ??
|
||||
"",
|
||||
maxLines: 2,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
"${_atMeController.msgFeedAtMeList[i].user?.nickname} "
|
||||
"在${_atMeController.msgFeedAtMeList[i].item?.business}中@了我",
|
||||
style: Theme.of(context)
|
||||
.textTheme
|
||||
.labelMedium!
|
||||
.titleMedium!
|
||||
.copyWith(
|
||||
color:
|
||||
Theme.of(context).colorScheme.outline)),
|
||||
color: Theme.of(context).colorScheme.primary,
|
||||
)),
|
||||
subtitle:
|
||||
Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
const SizedBox(height: 4),
|
||||
Text(
|
||||
_atMeController
|
||||
.msgFeedAtMeList[i].item?.sourceContent ??
|
||||
"",
|
||||
maxLines: 3,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: Theme.of(context)
|
||||
.textTheme
|
||||
.bodyMedium!
|
||||
.copyWith(
|
||||
color:
|
||||
Theme.of(context).colorScheme.outline))
|
||||
],
|
||||
),
|
||||
trailing: _atMeController
|
||||
.msgFeedAtMeList[i].item?.image !=
|
||||
null &&
|
||||
|
||||
Reference in New Issue
Block a user