Lock drawer closed in onboarding

This commit is contained in:
Kirill Kamakin
2022-11-19 12:30:43 +01:00
parent bc820123b2
commit 1a4d15b680
8 changed files with 14 additions and 12 deletions

View File

@@ -32,7 +32,7 @@ class AuthenticationFragment : Fragment(R.layout.fragment_authentication) {
logger.v { "onViewCreated() called with: view = $view, savedInstanceState = $savedInstanceState" }
binding.button.setOnClickListener { onLoginClicked() }
activityViewModel.updateUiState {
it.copy(loginButtonVisible = false, navigationVisible = false, searchVisible = false)
it.copy(navigationVisible = true, searchVisible = false)
}
viewModel.uiState.observe(viewLifecycleOwner, ::onUiStateChange)
}