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:
parent
a03f37129b
commit
98952de76b
13 changed files with 182 additions and 26 deletions
|
@ -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) },
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue