Fix todo form display issue

This commit is contained in:
Phillip Thelen 2019-05-17 11:52:33 +02:00
parent 9941c61532
commit cddb60d717

View file

@ -176,6 +176,7 @@ class TaskSchedulingControls @JvmOverloads constructor(
startDateTitleView.text = context.getString(if (taskType == Task.TYPE_DAILY) R.string.start_date else R.string.due_date)
repeatsEveryWrapper.visibility = if (taskType == Task.TYPE_DAILY) View.VISIBLE else View.GONE
summaryTextView.visibility = if (taskType == Task.TYPE_DAILY) View.VISIBLE else View.GONE
weeklyRepeatWrapper.visibility = if (taskType == Task.TYPE_DAILY) View.VISIBLE else View.GONE
}
override fun onDateSet(view: DatePicker?, year: Int, month: Int, dayOfMonth: Int) {