Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix delegate.willAddNewEvent call issue #374

Merged
merged 1 commit into from
Sep 1, 2024

Conversation

rakuyoMo
Copy link
Contributor

When calling the willAddNewEvent method through delegate, you should not use event directly as the default value when the method returns nil, because nil is meaningful.

event should be used as the default value only when delegate is nil.

This change does not affect the compatibility of the willAddNewEvent method that returns the Bool type.

@kvyatkovskys kvyatkovskys merged commit be01fce into kvyatkovskys:master Sep 1, 2024
@rakuyoMo rakuyoMo deleted the fix/willAddNewEvent branch September 1, 2024 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants