Fix invite card avatar pile not reflecting member count (#10891)
This commit is contained in:
@@ -103,12 +103,8 @@ export function JoinRequest({setScreenState}: Props) {
|
||||
ChatBskyGroupDefs.isJoinLinkPreviewView(joinLinkPreview) ? (
|
||||
<Wrapper>
|
||||
<AvatarBubbles
|
||||
profiles={[
|
||||
joinLinkPreview.owner,
|
||||
...Array(
|
||||
Math.min(3, Math.max(0, joinLinkPreview.memberCount - 1)),
|
||||
).fill(undefined),
|
||||
]}
|
||||
profiles={[joinLinkPreview.owner]}
|
||||
count={joinLinkPreview.memberCount}
|
||||
size={135}
|
||||
/>
|
||||
<View style={[a.gap_2xs]}>
|
||||
|
||||
@@ -63,12 +63,8 @@ export function OutgoingRequestListItem({
|
||||
(hovered || pressed || focused) && t.atoms.bg_contrast_25,
|
||||
]}>
|
||||
<AvatarBubbles
|
||||
profiles={[
|
||||
convoView?.owner ?? undefined,
|
||||
...Array(
|
||||
Math.min(3, Math.max(0, convoView.memberCount - 1)),
|
||||
).fill(undefined),
|
||||
]}
|
||||
profiles={[convoView.owner]}
|
||||
count={convoView.memberCount}
|
||||
size={48}
|
||||
/>
|
||||
<View style={[a.flex_1]}>
|
||||
|
||||
Reference in New Issue
Block a user