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

@@ -64,7 +64,7 @@ class _FavArticlePageState extends State<FavArticlePage>
item: item,
onDelete: () => showConfirmDialog(
context: context,
title: '确定取消收藏?',
title: const Text('确定取消收藏?'),
onConfirm: () =>
_favArticleController.onRemove(index, item.opusId!),
),

View File

@@ -66,7 +66,7 @@ class _FavCheesePageState extends State<FavCheesePage>
item: item,
onRemove: () => showConfirmDialog(
context: context,
title: '确定取消收藏该课堂?',
title: const Text('确定取消收藏该课堂?'),
onConfirm: () =>
_controller.onRemove(index, item.seasonId!),
),

View File

@@ -125,7 +125,7 @@ class _FavNoteChildPageState extends State<FavNoteChildPage>
if (_favNoteController.checkedCount != 0) {
showConfirmDialog(
context: context,
title: '确定删除已选中的笔记吗?',
title: const Text('确定删除已选中的笔记吗?'),
onConfirm: _favNoteController.onRemove,
);
}

View File

@@ -83,7 +83,7 @@ class _FavTopicPageState extends State<FavTopicPage>
void onLongPress() => showConfirmDialog(
context: context,
title: '确定取消收藏?',
title: const Text('确定取消收藏?'),
onConfirm: () => _controller.onRemove(index, item.id!),
);