TP-44739 | Neil Mehta | Home page - top nav bar fixes (#8271)

This commit is contained in:
Neil Mehta
2023-10-12 23:21:10 +05:30
committed by GitHub
parent d3e3b983a2
commit cac1607879
2 changed files with 3 additions and 1 deletions

View File

@@ -1434,7 +1434,6 @@ class NewDashboardActivity :
navigateToNextScreen(screen, bundle)
val tabId = getTabId(screen, bundle?.getString(SUB_REDIRECT))
binding.bottomNavigationView.menu.findItem(tabId)?.isChecked = true
handleStatusBarColor(bottomNavBarVM.getTabName(binding.bottomNavigationView.selectedItemId))
}
override fun getCurrentFragmentScreenName(): String {

View File

@@ -250,6 +250,9 @@ class HomeFragment :
hidden.not() && inAppUpdateVM.showAppUpdateStrip.value != false,
viewModel.homeItems.value?.extraData?.appUpdateData
)
viewModel.homeItems.value?.header?.let {
dashboardFragmentListener?.setStatusBarColor()
}
}
private fun apiCallingWithCondition(hidden: Boolean) {