Skip to content

Commit eac7a07

Browse files
committed
fix test
Signed-off-by: Pablo <[email protected]>
1 parent 95e3f34 commit eac7a07

File tree

1 file changed

+5
-1
lines changed
  • app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata

1 file changed

+5
-1
lines changed

app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/TEIDataFragment.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,11 @@ class TEIDataFragment : FragmentGlobalAbstract(), TEIDataContracts.View {
141141

142142
binding.filterLayout.adapter = filtersAdapter
143143
presenter.shouldDisplayEventCreationButton.observe(this.viewLifecycleOwner) { showCreateEventButton ->
144-
binding.dialFabLayout.setFabVisible(showCreateEventButton)
144+
binding.dialFabLayout.visibility = if (showCreateEventButton) {
145+
View.VISIBLE
146+
} else {
147+
View.GONE
148+
}
145149
}
146150
}.root
147151
}

0 commit comments

Comments
 (0)