summaryrefslogtreecommitdiff
path: root/packages/frontend/src/store.ts
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2025-04-12 13:47:24 +0100
committerdakkar <dakkar@thenautilus.net>2025-04-12 13:47:24 +0100
commitf9c61b452e74b49f0d7b571f42c031d4d76b1537 (patch)
tree1dbb7b77da780cc07c503f4340a01268571803d6 /packages/frontend/src/store.ts
parentput `autoloadConversation` back (diff)
downloadsharkey-f9c61b452e74b49f0d7b571f42c031d4d76b1537.tar.gz
sharkey-f9c61b452e74b49f0d7b571f42c031d4d76b1537.tar.bz2
sharkey-f9c61b452e74b49f0d7b571f42c031d4d76b1537.zip
fix `where` of our settings, should fix migrations
Diffstat (limited to 'packages/frontend/src/store.ts')
-rw-r--r--packages/frontend/src/store.ts24
1 files changed, 12 insertions, 12 deletions
diff --git a/packages/frontend/src/store.ts b/packages/frontend/src/store.ts
index 9aa72152b1..32acaeaf99 100644
--- a/packages/frontend/src/store.ts
+++ b/packages/frontend/src/store.ts
@@ -474,7 +474,7 @@ export const store = markRaw(new Pizzax('base', {
//#region Sharkey
autoloadConversation: {
- where: 'device',
+ where: 'account',
default: true,
},
clickToOpen: {
@@ -482,15 +482,15 @@ export const store = markRaw(new Pizzax('base', {
default: true,
},
collapseFiles: {
- where: 'device',
+ where: 'account',
default: false,
},
collapseNotesRepliedTo: {
- where: 'device',
+ where: 'account',
default: false,
},
disableCatSpeak: {
- where: 'device',
+ where: 'account',
default: false,
},
enableFaviconNotificationDot: {
@@ -502,11 +502,11 @@ export const store = markRaw(new Pizzax('base', {
default: false,
},
followingFeed: {
- where: 'device',
+ where: 'account',
default: defaultFollowingFeedState as Partial<FollowingFeedState>,
},
like: {
- where: 'device',
+ where: 'account',
default: null as string | null,
},
noteDesign: {
@@ -526,7 +526,7 @@ export const store = markRaw(new Pizzax('base', {
default: false,
},
searchEngine: {
- where: 'device',
+ where: 'account',
default: Object.keys(searchEngineMap)[0],
},
showTickerOnReplies: {
@@ -534,23 +534,23 @@ export const store = markRaw(new Pizzax('base', {
default: false,
},
showVisibilitySelectorOnBoost: {
- where: 'device',
+ where: 'account',
default: true,
},
trustedDomains: {
- where: 'device',
+ where: 'account',
default: [] as string[],
},
uncollapseCW: {
- where: 'device',
+ where: 'account',
default: false,
},
visibilityOnBoost: {
- where: 'device',
+ where: 'account',
default: 'public' as 'public' | 'home' | 'followers',
},
warnExternalUrl: {
- where: 'device',
+ where: 'account',
default: true,
},
warnMissingAltText: {