2
0

feat(engine): 💄 Hide avatar if not last block

This commit is contained in:
Baptiste Arnaud
2022-05-17 13:28:33 -07:00
parent d9e273b008
commit 0de0d128b3
3 changed files with 10 additions and 3 deletions

View File

@ -112,6 +112,7 @@ export const ConversationContainer = ({
onScroll={autoScrollToBottom}
onBlockEnd={displayNextBlock}
blockTitle={displayedBlock.block.title}
keepShowingHostAvatar={idx === displayedBlocks.length - 1}
/>
))}
{/* We use a block to simulate padding because it makes iOS scroll flicker */}