Hide bottom navigation
This commit is contained in:
parent
be8b310d09
commit
98d7a90f73
|
@ -79,6 +79,7 @@ class HomeDetailFragment @Inject constructor(
|
||||||
withState(viewModel) {
|
withState(viewModel) {
|
||||||
// Update the navigation view if needed (for when we restore the tabs)
|
// Update the navigation view if needed (for when we restore the tabs)
|
||||||
bottomNavigationView.selectedItemId = it.displayMode.toMenuId()
|
bottomNavigationView.selectedItemId = it.displayMode.toMenuId()
|
||||||
|
bottomNavigationView.visibility = if (bottomNavigationView.selectedItemId != R.id.bottom_action_home) View.VISIBLE else View.GONE
|
||||||
}
|
}
|
||||||
|
|
||||||
viewModel.selectSubscribe(this, HomeDetailViewState::groupSummary) { groupSummary ->
|
viewModel.selectSubscribe(this, HomeDetailViewState::groupSummary) { groupSummary ->
|
||||||
|
|
Loading…
Reference in New Issue