Persist selected QR code color theme in invite friends dialog (#10892)

This commit is contained in:
Spence Pope
2026-06-16 20:07:50 -04:00
committed by GitHub
parent 9825057bef
commit f92712f34d
3 changed files with 22 additions and 2 deletions
+5
View File
@@ -1,5 +1,6 @@
import {type ID as PolicyUpdate202508} from '#/components/PolicyUpdateOverlay/updates/202508/config'
import {type Gif} from '#/features/gifPicker/types'
import {type InviteThemeKey} from '#/features/inviteFriends/themes'
import {type Geolocation} from '#/geolocation/types'
/**
@@ -62,6 +63,10 @@ export type Device = {
activitySubscriptionsNudged?: boolean
threadgateNudged?: boolean
inviteFriendsFollowersPromoDismissed?: boolean
/**
* Selected color theme for the Invite Friends QR card.
*/
inviteFriendsThemeKey?: InviteThemeKey
/**
* Policy update overlays. New IDs are required for each new announcement.