Skip to content
Snippets Groups Projects
Commit 11fb0688 authored by Pierre Nicolas's avatar Pierre Nicolas :joy: Committed by Adrien Béraud
Browse files

conversation: always show back arrow

Since we have the welcome view we can always display the back arrow.
GitLab: #1421

Change-Id: Ie3fd30ee99ee4689df23b9499f2e4d6a7b07443b
parent 66e4912b
No related branches found
No related tags found
No related merge requests found
......@@ -304,9 +304,9 @@ class ConversationFragment : BaseSupportFragment<ConversationPresenter, Conversa
scrollToEnd()
}
setHasOptionsMenu(true)
if (!DeviceUtils.isTablet(requireContext())) {
binding.toolbar.setNavigationIcon(androidx.appcompat.R.drawable.abc_ic_ab_back_material)
binding.toolbar.setNavigationOnClickListener { activity?.onBackPressedDispatcher?.onBackPressed() }
binding.toolbar.setNavigationIcon(androidx.appcompat.R.drawable.abc_ic_ab_back_material)
binding.toolbar.setNavigationOnClickListener {
activity?.onBackPressedDispatcher?.onBackPressed()
}
binding.root
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment