feat:更新主题色兼容
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user