mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 04:08:44 +03:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue