Attachments preview: don't do fullscreen
Fullscreen partially hides send button in landscape orientation Change-Id: I357d3d174a928931733659c60f2f2b16cd6890b2
This commit is contained in:
parent
7994c14e15
commit
c4cfa5023f
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue