-6
src/screens/Onboarding/StepFinished.tsx
-6
src/screens/Onboarding/StepFinished.tsx
···
21
21
22
22
import {uploadBlob} from '#/lib/api'
23
23
import {
24
-
BSKY_APP_ACCOUNT_DID,
25
24
DISCOVER_SAVED_FEED,
26
25
TIMELINE_SAVED_FEED,
27
26
VIDEO_SAVED_FEED,
···
48
47
TitleText,
49
48
} from '#/screens/Onboarding/Layout'
50
49
import {Context, type OnboardingState} from '#/screens/Onboarding/state'
51
-
import {bulkWriteFollows} from '#/screens/Onboarding/util'
52
50
import {
53
51
atoms as a,
54
52
native,
···
114
112
const {selectedInterests} = interestsStepResults
115
113
116
114
await Promise.all([
117
-
bulkWriteFollows(agent, [
118
-
BSKY_APP_ACCOUNT_DID,
119
-
...(listItems?.map(i => i.subject.did) ?? []),
120
-
]),
121
115
(async () => {
122
116
// Interests need to get saved first, then we can write the feeds to prefs
123
117
await agent.setInterestsPref({tags: selectedInterests})