mirror of
https://github.com/Myzel394/NumberHub.git
synced 2025-06-21 01:30:33 +02:00
parent
a6332a5279
commit
de63d0eff0
@ -59,7 +59,10 @@ fun DatePickerDialog(
|
||||
onDismiss: () -> Unit = {},
|
||||
onConfirm: (ZonedDateTime) -> Unit,
|
||||
) {
|
||||
val pickerState = rememberDatePickerState(localDateTime.toEpochSecond() * 1000)
|
||||
val pickerState = rememberDatePickerState(
|
||||
initialSelectedDateMillis = localDateTime.toEpochSecond() * 1000,
|
||||
yearRange = 0..9999,
|
||||
)
|
||||
|
||||
AlertDialog(
|
||||
onDismissRequest = onDismiss,
|
||||
|
Loading…
x
Reference in New Issue
Block a user