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

Add flag manually added steps #58

Merged
merged 2 commits into from
Mar 19, 2021
Merged

Conversation

macelai
Copy link
Contributor

@macelai macelai commented Mar 17, 2021

Fix #12

day:date
completion:^(double value, NSDate *startDate, NSDate *endDate, NSError *error) {
if (!value) {
if (!value && value != 0) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we're checking if value != 0 here? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise it would enter this error on completionHandler(0, day, day, nil);, and it isn't an error

@macelai macelai merged commit 0c9275d into master Mar 19, 2021
@macelai macelai deleted the add-flag-manually-added-steps branch March 19, 2021 17:52
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.

[Filter Manual enter data] Step
2 participants