Keep visible around
This commit is contained in:
@@ -1067,7 +1067,8 @@ function ExpandedAuthorsList({
|
|||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<Animated.View style={[a.overflow_hidden, heightStyle]}>
|
<Animated.View style={[a.overflow_hidden, heightStyle]}>
|
||||||
{profileCardEnabled ? (
|
{visible ? (
|
||||||
|
profileCardEnabled ? (
|
||||||
<View onLayout={onInnerLayout} style={[a.pt_sm, a.pb_md]}>
|
<View onLayout={onInnerLayout} style={[a.pt_sm, a.pb_md]}>
|
||||||
{authors.map((author, i) => (
|
{authors.map((author, i) => (
|
||||||
<ExpandedAuthorProfileCard
|
<ExpandedAuthorProfileCard
|
||||||
@@ -1079,11 +1080,11 @@ function ExpandedAuthorsList({
|
|||||||
))}
|
))}
|
||||||
</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