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

Missing "&" at line 179 in device_calendar.dart #162

Closed
sageata opened this issue Feb 1, 2020 · 2 comments
Closed

Missing "&" at line 179 in device_calendar.dart #162

sageata opened this issue Feb 1, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@sageata
Copy link

sageata commented Feb 1, 2020

I found a small error in flutter_plugins/device_calendar/lib/src/device_calendar.dart file as is missing an '&' in the if statement.

It causes all the full day events not to be added to the Calendar.

else if (event.allDay != true & ((event?.calendarId?.isEmpty ?? true) || event.start == null || event.end == null || event.start.isAfter(event.end))) {

image

Thanks you for creating this plugin ;)

@bhl09 bhl09 added the bug Something isn't working label Feb 3, 2020
@bhl09 bhl09 self-assigned this Feb 3, 2020
@bhl09
Copy link
Contributor

bhl09 commented Feb 3, 2020

@sageata thanks, it has been publised to a new hotfix v3.0.0+3

@bhl09 bhl09 closed this as completed Feb 3, 2020
@sageata
Copy link
Author

sageata commented Feb 6, 2020

@Brett09, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants