cdharris / flutter_duration_picker

A Flutter Widget for allowing a user to pick a duration (e.g. 5mins, 1h 30mins, etc)
MIT License
78 stars 49 forks source link

Snap hour to avoid problems in issue #4 #8

Closed jmolins closed 6 years ago

jmolins commented 6 years ago

I have added a variable "snapped_hours" to make it easy to know when we are near a new hour so we can increase the normal counter.

cdharris commented 6 years ago

Gave this a quick test myself and looks good to me thanks!

jmolins commented 6 years ago

Hi Chris. This PR fixes issue #4. Issue #7 is still an issue. I opened it because it was present before this PR and it is still present after it. I will try to send a new PR next week for it.