mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-28 18:09:30 +01:00
Hide bottom navigation
This commit is contained in:
parent
be8b310d09
commit
98d7a90f73
@ -79,6 +79,7 @@ class HomeDetailFragment @Inject constructor(
|
||||
withState(viewModel) {
|
||||
// Update the navigation view if needed (for when we restore the tabs)
|
||||
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 ->
|
||||
|
Loading…
x
Reference in New Issue
Block a user