diff --git a/app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/SearchScreenConfigurator.kt b/app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/SearchScreenConfigurator.kt index 94770bf9822..d4ac9651066 100644 --- a/app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/SearchScreenConfigurator.kt +++ b/app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/SearchScreenConfigurator.kt @@ -72,6 +72,8 @@ class SearchScreenConfigurator( } private fun openFilters() { + binding.programSpinner.visibility = View.VISIBLE + binding.title.visibility = View.GONE binding.filterRecyclerLayout.visibility = View.VISIBLE binding.searchContainer.visibility = View.GONE if (isPortrait()) binding.navigationBar.hide() @@ -80,6 +82,8 @@ class SearchScreenConfigurator( } fun closeBackdrop() { + binding.programSpinner.visibility = View.VISIBLE + binding.title.visibility = View.GONE binding.filterRecyclerLayout.visibility = View.GONE binding.searchContainer.visibility = View.GONE if (isPortrait()) binding.navigationBar.show() @@ -89,6 +93,8 @@ class SearchScreenConfigurator( private fun openSearch() { binding.filterRecyclerLayout.visibility = View.GONE + binding.programSpinner.visibility = View.GONE + binding.title.visibility = View.VISIBLE binding.searchContainer.visibility = View.VISIBLE if (isPortrait()) binding.navigationBar.hide() filterIsOpenCallback(false)