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

Commit

Permalink
Hide keyboard on CJ note editing when day view is closed (EXPOSUREAPP…
Browse files Browse the repository at this point in the history
…-5887) #2675

Co-authored-by: harambasicluka <64483219+harambasicluka@users.noreply.github.com>
  • Loading branch information
ralfgehrer and harambasicluka authored Mar 26, 2021
1 parent 243f832 commit 09afabb
Showing 1 changed file with 2 additions and 0 deletions.
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

0 comments on commit 09afabb

Please sign in to comment.