Tweak feed card to prevent spinnerz when pushing to screen (#4600)
This commit is contained in:
parent
1715afd80e
commit
35f64535cb
5 changed files with 153 additions and 105 deletions
|
@ -578,7 +578,7 @@ function precacheFeed(queryClient: QueryClient, hydratedFeed: FeedSourceInfo) {
|
|||
)
|
||||
}
|
||||
|
||||
function precacheList(
|
||||
export function precacheList(
|
||||
queryClient: QueryClient,
|
||||
list: AppBskyGraphDefs.ListView,
|
||||
) {
|
||||
|
@ -588,3 +588,11 @@ function precacheList(
|
|||
list,
|
||||
)
|
||||
}
|
||||
|
||||
export function precacheFeedFromGeneratorView(
|
||||
queryClient: QueryClient,
|
||||
view: AppBskyFeedDefs.GeneratorView,
|
||||
) {
|
||||
const hydratedFeed = hydrateFeedGenerator(view)
|
||||
precacheFeed(queryClient, hydratedFeed)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue