feat:更新主题色兼容

This commit is contained in:
2025-11-21 14:58:11 +08:00
parent 3ea162f33e
commit f133e5ce13
11 changed files with 112 additions and 75 deletions

View File

@@ -107,7 +107,7 @@ Widget buildCalendar({
onLongPress: (CalendarLongPressDetails details) async {
if (details.targetElement == CalendarElement.appointment) {
if (details.appointments?.length == 1) {
final bool? result = await showDeleteConfirmationDialog(context);
final bool? result = await showConfirmDialog(context, '确定要删除这个项目吗?');
if (result == true) {
onDelete(details.appointments!.first);
}