mod: 支持系统消息查看,美化界面,点击清除未读提示,支持未读刷新

修复私信页点击视频后反复提示已读成功的问题
This commit is contained in:
orz12
2024-02-23 15:09:46 +08:00
parent 2671d0a130
commit 21ed67e569
14 changed files with 522 additions and 134 deletions

View File

@@ -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 &&