Skip to content

Commit

Permalink
- Tabs issue fixed in PatientDetailsActivity.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
RaaziaTarique committed Dec 15, 2021
1 parent 0ac79e1 commit 6051c35
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ class PatientDetailsActivity : BaseMultiLanguageActivity() {
ViewPagerAdapter(
fragmentManager = supportFragmentManager,
lifecycle = lifecycle,
isPregnant = patient.value?.isPregnant == true,
isPregnant = patientDetails.isPregnant == true,
bundleOf = bundleOf(Pair(QuestionnaireActivity.QUESTIONNAIRE_ARG_PATIENT_KEY, patientId))
)
activityAncDetailsBinding.pager.adapter = adapter
Expand Down

0 comments on commit 6051c35

Please sign in to comment.