mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-15 13:50:14 +08:00
@@ -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!),
|
||||
),
|
||||
|
||||
@@ -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!),
|
||||
),
|
||||
|
||||
@@ -125,7 +125,7 @@ class _FavNoteChildPageState extends State<FavNoteChildPage>
|
||||
if (_favNoteController.checkedCount != 0) {
|
||||
showConfirmDialog(
|
||||
context: context,
|
||||
title: '确定删除已选中的笔记吗?',
|
||||
title: const Text('确定删除已选中的笔记吗?'),
|
||||
onConfirm: _favNoteController.onRemove,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -83,7 +83,7 @@ class _FavTopicPageState extends State<FavTopicPage>
|
||||
|
||||
void onLongPress() => showConfirmDialog(
|
||||
context: context,
|
||||
title: '确定取消收藏?',
|
||||
title: const Text('确定取消收藏?'),
|
||||
onConfirm: () => _controller.onRemove(index, item.id!),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user