Fix incorrect conditional padding logic in Chat component

This commit is contained in:
geoffsee
2025-05-28 20:46:27 -04:00
parent 4928b6c2a2
commit 5cb5905125

View File

@@ -36,9 +36,7 @@ const Chat = observer(({ height, width }) => {
ref={scrollRef} ref={scrollRef}
// If there are attachments, use "100px". Otherwise, use "128px" on Android, "73px" elsewhere. // If there are attachments, use "100px". Otherwise, use "128px" on Android, "73px" elsewhere.
pb={ pb={
chatStore.attachments.length > 0 isAndroid
? "100px"
: isAndroid
? "128px" ? "128px"
: "73px" : "73px"
} }