1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00

DROID-3108 Date as an Object | Add the “Open selected date” option to the Date Picker. (#1899)

This commit is contained in:
Konstantin Ivanov 2024-12-10 15:47:44 +01:00 committed by konstantiniiv
parent a03f37129b
commit 98952de76b
13 changed files with 182 additions and 26 deletions

View file

@ -35,10 +35,9 @@ fun CalendarScreen(
is UiCalendarState.Calendar -> {
DatePickerContent(
state = DateValueView(timeInMillis = uiState.timeInMillis),
showHeader = false,
onDateSelected = { onDateEvent(DateEvent.Calendar.OnCalendarDateSelected(it)) },
onTodayClicked = { onDateEvent(DateEvent.Calendar.OnTodayClick) },
onTomorrowClicked = { onDateEvent(DateEvent.Calendar.OnTomorrowClick) }
onTomorrowClicked = { onDateEvent(DateEvent.Calendar.OnTomorrowClick) },
)
}