ja2375 / add_2_calendar

A really simple Flutter plugin to add events to each platform's default calendar..
MIT License
188 stars 111 forks source link

Added "default" at presentCalendarModalToAddEvent function on Swift #128

Closed FelippeNO closed 1 year ago

FelippeNO commented 1 year ago

This PR fix the issue #127 - presentCalendarModalToAddEvent need a default switch case. Include "default" into switch case on presentCalendarModalToAddEvent func, in SwiftAdd2CalendarPlugin class.

diegog-sf commented 1 year ago

Thanks for the PR, is the callback the only thing needed, or do we need to do something for the new type?

FelippeNO commented 1 year ago

Thanks for the PR, is the callback the only thing needed, or do we need to do something for the new type?

Nothing else needs to be done, it's just a matter of security in the code and switch case. Probably related to the new version of Swift.