mattinger
03/11/2025, 3:52 PMis24Hour
flag on TimePickerState is not in fact stateful, despite it being a var in the interface:
override var is24hour: Boolean = is24Hour
override var selection by mutableStateOf(TimePickerSelectionMode.Hour)
override var isAfternoon by mutableStateOf(initialHour >= 12)
Anyone know if this is an oversight, or is it by design? It's not a big deal for me as we've decided to just lock to the system time mode anyway and not make it available in the wrapper functions we're providing (we are wrapping it for styling and converting the state approach to callbacks)