Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Hide keyboard on CJ note editing when day view is closed (EXPOSUREAPP-5887) #2675

Merged
merged 9 commits into from
Mar 26, 2021
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import de.rki.coronawarnapp.contactdiary.ui.day.tabs.ContactDiaryDayFragmentsAda
import de.rki.coronawarnapp.contactdiary.ui.day.tabs.ContactDiaryDayTab
import de.rki.coronawarnapp.contactdiary.ui.location.ContactDiaryAddLocationFragmentArgs
import de.rki.coronawarnapp.contactdiary.ui.person.ContactDiaryAddPersonFragmentArgs
import de.rki.coronawarnapp.contactdiary.util.hideKeyboard
import de.rki.coronawarnapp.contactdiary.util.registerOnPageChangeCallback
import de.rki.coronawarnapp.databinding.ContactDiaryDayFragmentBinding
import de.rki.coronawarnapp.util.di.AutoInject
Expand Down Expand Up @@ -70,6 +71,7 @@ class ContactDiaryDayFragment : Fragment(R.layout.contact_diary_day_fragment), A
}

contactDiaryDayHeader.setNavigationOnClickListener {
view.hideKeyboard()
viewModel.onBackPressed()
}
}
Expand Down