Add profile QR code for sharing and inviting friends (#10659)

This commit is contained in:
Spence Pope
2026-06-10 14:14:45 -04:00
committed by GitHub
parent adb39b4442
commit c6f9803676
32 changed files with 1853 additions and 55 deletions
@@ -0,0 +1,12 @@
import {device, useStorage} from '#/storage'
/**
* Persisted dismiss state for the "Import contacts or invite your friends"
* promo banner shown on the Followers screen empty state.
*/
export function useFollowersPromoDismissed() {
const [dismissed = false, setDismissed] = useStorage(device, [
'inviteFriendsFollowersPromoDismissed',
])
return [dismissed, setDismissed] as const
}