diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-06-19 22:32:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-20 00:32:44 +0300 |
commit | 0f931933a7b7b72505fbab6e1f25860f7a84e59c (patch) | |
tree | f0ca1407e9fabd8cac7d1e2af0c7c09678a92a92 /src/state/persisted/schema.ts | |
parent | 22c5aa4da4e8835f2694e1590c27b2e5783d3cc4 (diff) | |
download | voidsky-0f931933a7b7b72505fbab6e1f25860f7a84e59c.tar.zst |
Option for large alt badges (#4571)
* add pref for large alt badge * add to settings * do the large badge bit * Tweak wording --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Diffstat (limited to 'src/state/persisted/schema.ts')
-rw-r--r-- | src/state/persisted/schema.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/state/persisted/schema.ts b/src/state/persisted/schema.ts index 9d5b17d35..c942828f2 100644 --- a/src/state/persisted/schema.ts +++ b/src/state/persisted/schema.ts @@ -60,6 +60,7 @@ export const schema = z.object({ appLanguage: z.string(), }), requireAltTextEnabled: z.boolean(), // should move to server + largeAltBadgeEnabled: z.boolean().optional(), externalEmbeds: z .object({ giphy: z.enum(externalEmbedOptions).optional(), @@ -112,6 +113,7 @@ export const defaults: Schema = { appLanguage: deviceLocales[0] || 'en', }, requireAltTextEnabled: false, + largeAltBadgeEnabled: false, externalEmbeds: {}, mutedThreads: [], invites: { |