mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-03-30 20:45:49 +00:00
android, desktop: fix negative content offset on some Android devices (#5752)
This commit is contained in:
committed by
GitHub
parent
b8e2e71a60
commit
e58d09ce78
@@ -379,10 +379,11 @@ fun ModalData.GroupChatInfoLayout(
|
||||
} else {
|
||||
PaddingValues(
|
||||
top = topPaddingToContent(false),
|
||||
bottom = navBarPadding +
|
||||
imePadding +
|
||||
selectedItemsBarHeight +
|
||||
(if (navBarPadding > 0.dp && imePadding > 0.dp) -AppBarHeight * fontSizeSqrtMultiplier else 0.dp)
|
||||
bottom = if (imePadding > 0.dp) {
|
||||
imePadding + selectedItemsBarHeight
|
||||
} else {
|
||||
navBarPadding + selectedItemsBarHeight
|
||||
}
|
||||
)
|
||||
}
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user