Clearer condition
This commit is contained in:
@@ -648,18 +648,18 @@ let PostFeed = ({
|
|||||||
</View>
|
</View>
|
||||||
)
|
)
|
||||||
} else if (row.type === 'videoGridRow') {
|
} else if (row.type === 'videoGridRow') {
|
||||||
let sourceContext: VideoFeedSourceContext = {
|
let sourceContext: VideoFeedSourceContext
|
||||||
type: 'feedgen',
|
|
||||||
uri: row.sourceFeedUri,
|
|
||||||
sourceInterstitial: feedCacheKey ?? 'none',
|
|
||||||
}
|
|
||||||
|
|
||||||
if (feedType === 'author') {
|
if (feedType === 'author') {
|
||||||
sourceContext = {
|
sourceContext = {
|
||||||
type: 'author',
|
type: 'author',
|
||||||
did: feedUriOrActorDid,
|
did: feedUriOrActorDid,
|
||||||
filter: feedTab as AuthorFilter,
|
filter: feedTab as AuthorFilter,
|
||||||
sourceInterstitial: 'none',
|
}
|
||||||
|
} else {
|
||||||
|
sourceContext = {
|
||||||
|
type: 'feedgen',
|
||||||
|
uri: row.sourceFeedUri,
|
||||||
|
sourceInterstitial: feedCacheKey ?? 'none',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user