Attachments preview: don't do fullscreen

Fullscreen partially hides send button in landscape orientation

Change-Id: I357d3d174a928931733659c60f2f2b16cd6890b2
This commit is contained in:
SpiritCroc 2021-02-24 17:15:00 +01:00
parent 7994c14e15
commit c4cfa5023f
1 changed files with 2 additions and 0 deletions

View File

@ -156,6 +156,7 @@ class AttachmentsPreviewFragment @Inject constructor(
@Suppress("DEPRECATION") @Suppress("DEPRECATION")
private fun applyInsets() { private fun applyInsets() {
/*
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
activity?.window?.setDecorFitsSystemWindows(false) activity?.window?.setDecorFitsSystemWindows(false)
} else { } else {
@ -171,6 +172,7 @@ class AttachmentsPreviewFragment @Inject constructor(
} }
insets insets
} }
*/
} }
private fun handleRemoveAction() { private fun handleRemoveAction() {