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

pull/1659/head
ThomasSession 7 months ago committed by fanchao
parent d7bd0bf3ea
commit bc067b6848

@ -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

Loading…
Cancel
Save