mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 02:10:44 +01:00
Allow specification of whether we utilize windowTypes to lay out inset guidelines.
This commit is contained in:
committed by
Cody Henthorne
parent
b46d891183
commit
bd03f21cdf
@@ -590,6 +590,8 @@ class ConversationFragment :
|
||||
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
|
||||
binding.toolbar.isBackInvokedCallbackEnabled = false
|
||||
|
||||
binding.root.setUseWindowTypes(resources.getWindowSizeClass().isCompact())
|
||||
|
||||
disposables.bindTo(viewLifecycleOwner)
|
||||
|
||||
if (requireActivity() is ConversationActivity) {
|
||||
|
||||
Reference in New Issue
Block a user