forked from
jollywhoppers.com/witchsky.app
fork
Configure Feed
Select the types of activity you want to include in your feed.
Bluesky app fork with some witchin' additions 馃挮
fork
Configure Feed
Select the types of activity you want to include in your feed.
1import AsyncStorage from '@react-native-async-storage/async-storage'
2
3const PREFIX = 'agent-labelers'
4
5export async function saveLabelers(did: string, value: string[]) {
6 await AsyncStorage.setItem(`${PREFIX}:${did}`, JSON.stringify(value))
7}
8
9export async function readLabelers(did: string): Promise<string[] | undefined> {
10 const rawData = await AsyncStorage.getItem(`${PREFIX}:${did}`)
11 return rawData ? JSON.parse(rawData) : undefined
12}