Adding padding so that context menu doesn't hit the bottom of the screen

This commit is contained in:
ThomasSession 2024-09-04 14:46:15 +10:00 committed by fanchao
parent d7bd0bf3ea
commit bc067b6848

View File

@ -213,7 +213,7 @@ class ConversationReactionOverlay : FrameLayout {
endY = backgroundView.height + menuPadding + reactionBarTopPadding
}
} else {
endY = overlayHeight - contextMenu.getMaxHeight() - menuPadding - conversationItemSnapshot.height
endY = overlayHeight - contextMenu.getMaxHeight() - 2*menuPadding - conversationItemSnapshot.height
reactionBarBackgroundY = endY - reactionBarHeight - menuPadding
}
endApparentTop = endY