Skip to content

Commit bae5e11

Browse files
authored
Merge pull request #325 from ostatnicky/ostatnicky/fix-calendar-full-access-request
Fix full access request to Calendar
2 parents 92abeaa + 8356098 commit bae5e11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/CalendarPermission/CalendarPermission.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public class CalendarPermission: Permission {
105105
}
106106

107107
let requestFull = {
108-
eventStore.requestWriteOnlyAccessToEvents { (accessGranted: Bool, error: Error?) in
108+
eventStore.requestFullAccessToEvents { (accessGranted: Bool, error: Error?) in
109109
DispatchQueue.main.async {
110110
completion()
111111
}

0 commit comments

Comments
 (0)