From c4cfa5023f77e9e55ec4e04ce1f3957689746349 Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Wed, 24 Feb 2021 17:15:00 +0100 Subject: [PATCH] Attachments preview: don't do fullscreen Fullscreen partially hides send button in landscape orientation Change-Id: I357d3d174a928931733659c60f2f2b16cd6890b2 --- .../features/attachments/preview/AttachmentsPreviewFragment.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vector/src/main/java/im/vector/app/features/attachments/preview/AttachmentsPreviewFragment.kt b/vector/src/main/java/im/vector/app/features/attachments/preview/AttachmentsPreviewFragment.kt index cdb015e4da..4c30abd265 100644 --- a/vector/src/main/java/im/vector/app/features/attachments/preview/AttachmentsPreviewFragment.kt +++ b/vector/src/main/java/im/vector/app/features/attachments/preview/AttachmentsPreviewFragment.kt @@ -156,6 +156,7 @@ class AttachmentsPreviewFragment @Inject constructor( @Suppress("DEPRECATION") private fun applyInsets() { + /* if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) { activity?.window?.setDecorFitsSystemWindows(false) } else { @@ -171,6 +172,7 @@ class AttachmentsPreviewFragment @Inject constructor( } insets } + */ } private fun handleRemoveAction() {