feat(Scout): dark theme date picker
This commit is contained in:
parent
36d1862716
commit
d59ae652ba
1 changed files with 1 additions and 2 deletions
|
|
@ -24,8 +24,7 @@ class DatePickerFragment(
|
||||||
val month = c.get(Calendar.MONTH)
|
val month = c.get(Calendar.MONTH)
|
||||||
val day = c.get(Calendar.DAY_OF_MONTH)
|
val day = c.get(Calendar.DAY_OF_MONTH)
|
||||||
|
|
||||||
android.app.AlertDialog.THEME_DEVICE_DEFAULT_DARK
|
return DatePickerDialog(requireContext(), android.R.style.Theme_DeviceDefault_Dialog, this, year, month, day)
|
||||||
return DatePickerDialog(requireContext(), this, year, month, day)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onDateSet(picker: DatePicker, year: Int, month: Int, day: Int) {
|
override fun onDateSet(picker: DatePicker, year: Int, month: Int, day: Int) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue