HmsPickerView icon indicating copy to clipboard operation
HmsPickerView copied to clipboard

Possibility to "hide" hours

Open pinticas opened this issue 5 years ago • 2 comments

It is a very nice time picker but it lacks the possibility to hide the hours section to allow the user to only set minutes and seconds.

pinticas avatar Jan 09 '21 21:01 pinticas

It won't be easy because the library is designed to take in 6 digits. To hide hours, I have to refactor the whole codebase.

In one of my apps, I show a snack bar if the input is 0 and prevent users from moving on. You could try a similar solution.

DeweyReed avatar Jan 10 '21 02:01 DeweyReed

Ok, I thought it was as easy as hiding 2 views and blocking digits to 4 :)

pinticas avatar Jan 10 '21 11:01 pinticas