Keep visible around
This commit is contained in:
@@ -1067,23 +1067,24 @@ function ExpandedAuthorsList({
|
|||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<Animated.View style={[a.overflow_hidden, heightStyle]}>
|
<Animated.View style={[a.overflow_hidden, heightStyle]}>
|
||||||
{profileCardEnabled ? (
|
{visible ? (
|
||||||
<View onLayout={onInnerLayout} style={[a.pt_sm, a.pb_md]}>
|
profileCardEnabled ? (
|
||||||
{authors.map((author, i) => (
|
<View onLayout={onInnerLayout} style={[a.pt_sm, a.pb_md]}>
|
||||||
<ExpandedAuthorProfileCard
|
{authors.map((author, i) => (
|
||||||
key={author.profile.did}
|
<ExpandedAuthorProfileCard
|
||||||
author={author}
|
key={author.profile.did}
|
||||||
moderationOpts={moderationOpts}
|
author={author}
|
||||||
isLast={i === authors.length - 1}
|
moderationOpts={moderationOpts}
|
||||||
/>
|
isLast={i === authors.length - 1}
|
||||||
))}
|
/>
|
||||||
</View>
|
))}
|
||||||
) : (
|
</View>
|
||||||
visible &&
|
) : (
|
||||||
authors.map(author => (
|
authors.map(author => (
|
||||||
<ExpandedAuthorCard key={author.profile.did} author={author} />
|
<ExpandedAuthorCard key={author.profile.did} author={author} />
|
||||||
))
|
))
|
||||||
)}
|
)
|
||||||
|
) : null}
|
||||||
</Animated.View>
|
</Animated.View>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user