Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-03-23 17:45:23 +08:00
parent 0957dfc66e
commit 2220372e4f
43 changed files with 99 additions and 96 deletions

View File

@@ -95,7 +95,7 @@ class _AtMePageState extends State<AtMePage> {
final item = response[index];
void onLongPress() => showConfirmDialog(
context: context,
title: '确定删除该通知?',
title: const Text('确定删除该通知?'),
onConfirm: () => _atMeController.onRemove(item.id!, index),
);
return ListTile(

View File

@@ -211,8 +211,8 @@ class _LikeMePageState extends State<LikeMePage> {
Get.back();
showConfirmDialog(
context: context,
title: '删除',
content: '该条通知删除后,当有新点赞时会重新出现在列表,是否继续?',
title: const Text('删除'),
content: const Text('该条通知删除后,当有新点赞时会重新出现在列表,是否继续?'),
onConfirm: () => onRemove(item.id),
);
},
@@ -228,8 +228,8 @@ class _LikeMePageState extends State<LikeMePage> {
if (isNotice) {
showConfirmDialog(
context: context,
title: '不再通知',
content: '这条内容的点赞将不再通知,但仍可在列表内查看,是否继续?',
title: const Text('不再通知'),
content: const Text('这条内容的点赞将不再通知,但仍可在列表内查看,是否继续?'),
onConfirm: () =>
_likeMeController.onSetNotice(item, isNotice),
);

View File

@@ -97,7 +97,7 @@ class _ReplyMePageState extends State<ReplyMePage> {
void onLongPress() => showConfirmDialog(
context: context,
title: '确定删除该通知?',
title: const Text('确定删除该通知?'),
onConfirm: () =>
_replyMeController.onRemove(item.id, index),
);

View File

@@ -82,7 +82,7 @@ class _SysMsgPageState extends State<SysMsgPage> {
final item = response[index];
void onLongPress() => showConfirmDialog(
context: context,
title: '确定删除该通知?',
title: const Text('确定删除该通知?'),
onConfirm: () => _sysMsgController.onRemove(item.id, index),
);
return ListTile(