Update index.ios.ts to remove callback on cancel of DateTimePicker dialog.
Removed callback(null) for cancelAction in iOS. If left in this results in datePickerClosed event being called.
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign the CLA at https://www.nativescript.org/cla.
CLA has not been signed by users: @mrwrighty.
After signing the CLA, you can ask me to recheck this PR by posting @cla-bot check as a comment to the PR.
@cla-bot check
The cla-bot has been summoned, and re-checked this pull request!
Isn't a cancel a close though? Just wondering without anything to notify when canceled would leave out a way to respond to when the datepicker is no longer on screen, which you may want if doing other ui or data reactions when showing the datepicker. Idk?
Cancel is a close but still calls onDateChanged even though callback(null) is used. By removing the callback(null) the datetimepicker just closes with no event.