mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-22 21:57:11 +00:00
Fix reminders
This commit is contained in:
parent
5041ce6e5e
commit
4afc8a8238
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ class ReminderItemFormView @JvmOverloads constructor(
|
|||
}
|
||||
override fun onTimeSet(view: TimePicker?, hourOfDay: Int, minute: Int) {
|
||||
valueChangedListener?.let {
|
||||
val zonedDateTime = ZonedDateTime.now()
|
||||
val zonedDateTime = (item.getZonedDateTime() ?: ZonedDateTime.now())
|
||||
.withHour(hourOfDay)
|
||||
.withMinute(minute)
|
||||
item.time = zonedDateTime.format(DateTimeFormatter.ISO_LOCAL_DATE_TIME)
|
||||
|
|
|
|||
Loading…
Reference in a new issue