|
|
|
@ -35,7 +35,6 @@ showReminderDialog(BuildContext context, DateTime dateTime, String doctorName, S
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
if (await Permission.calendarFullAccess.request().isGranted) {
|
|
|
|
if (await Permission.calendarFullAccess.request().isGranted) {
|
|
|
|
print(await Permission.calendarFullAccess.request().isGranted);
|
|
|
|
|
|
|
|
_showReminderDialog(context, dateTime, doctorName, eventId, appoDateFormatted, appoTimeFormatted,
|
|
|
|
_showReminderDialog(context, dateTime, doctorName, eventId, appoDateFormatted, appoTimeFormatted,
|
|
|
|
onSuccess: onSuccess, title: title ?? "", description: description ?? "", onMultiDateSuccess: onMultiDateSuccess ?? (int) {});
|
|
|
|
onSuccess: onSuccess, title: title ?? "", description: description ?? "", onMultiDateSuccess: onMultiDateSuccess ?? (int) {});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|