mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: at me item
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -70,25 +70,28 @@ class _AtMePageState extends State<AtMePage> {
|
|||||||
title: Text(
|
title: Text(
|
||||||
"${loadingState.response[index].user?.nickname} "
|
"${loadingState.response[index].user?.nickname} "
|
||||||
"在${loadingState.response[index].item?.business}中@了我",
|
"在${loadingState.response[index].item?.business}中@了我",
|
||||||
style: Theme.of(context).textTheme.titleMedium!.copyWith(
|
style: Theme.of(context).textTheme.bodyMedium!.copyWith(
|
||||||
color: Theme.of(context).colorScheme.primary,
|
color: Theme.of(context).colorScheme.primary,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
subtitle: Column(
|
subtitle: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
const SizedBox(height: 4),
|
if ((loadingState.response[index].item?.sourceContent
|
||||||
Text(
|
as String?)
|
||||||
loadingState.response[index].item?.sourceContent ??
|
?.isNotEmpty ==
|
||||||
"",
|
true) ...[
|
||||||
maxLines: 3,
|
const SizedBox(height: 4),
|
||||||
overflow: TextOverflow.ellipsis,
|
Text(loadingState.response[index].item?.sourceContent,
|
||||||
style: Theme.of(context)
|
maxLines: 3,
|
||||||
.textTheme
|
overflow: TextOverflow.ellipsis,
|
||||||
.bodyMedium!
|
style: Theme.of(context)
|
||||||
.copyWith(
|
.textTheme
|
||||||
color:
|
.bodyMedium!
|
||||||
Theme.of(context).colorScheme.outline)),
|
.copyWith(
|
||||||
|
color:
|
||||||
|
Theme.of(context).colorScheme.outline)),
|
||||||
|
],
|
||||||
const SizedBox(height: 4),
|
const SizedBox(height: 4),
|
||||||
Text(
|
Text(
|
||||||
Utils.dateFormat(loadingState.response[index].atTime),
|
Utils.dateFormat(loadingState.response[index].atTime),
|
||||||
|
|||||||
Reference in New Issue
Block a user