1
0
forked from mirror/misskey

デフォルト値のカスタム

This commit is contained in:
moris 2025-02-08 21:54:30 +09:00
parent 01d727c028
commit ae89b3daa2

View File

@ -145,15 +145,13 @@ export const defaultStore = markRaw(new Storage('base', {
where: 'deviceAccount',
default: [
'notifications',
'favorites',
'clips',
'drive',
'followRequests',
'-',
'explore',
'announcements',
'search',
'-',
'ui',
'lookup',
'reload',
],
},
visibility: {
@ -212,7 +210,7 @@ export const defaultStore = markRaw(new Storage('base', {
},
serverDisconnectedBehavior: {
where: 'device',
default: 'quiet' as 'quiet' | 'reload' | 'dialog',
default: 'reload' as 'quiet' | 'reload' | 'dialog',
},
nsfw: {
where: 'device',
@ -220,7 +218,7 @@ export const defaultStore = markRaw(new Storage('base', {
},
highlightSensitiveMedia: {
where: 'device',
default: false,
default: true,
},
animation: {
where: 'device',
@ -296,19 +294,19 @@ export const defaultStore = markRaw(new Storage('base', {
},
instanceTicker: {
where: 'device',
default: 'remote' as 'none' | 'remote' | 'always',
default: 'none' as 'none' | 'remote' | 'always',
},
emojiPickerScale: {
where: 'device',
default: 1,
default: 2,
},
emojiPickerWidth: {
where: 'device',
default: 1,
default: 4,
},
emojiPickerHeight: {
where: 'device',
default: 2,
default: 3,
},
emojiPickerStyle: {
where: 'device',
@ -328,7 +326,7 @@ export const defaultStore = markRaw(new Storage('base', {
},
menuDisplay: {
where: 'device',
default: 'sideFull' as 'sideFull' | 'sideIcon' | 'top',
default: 'sideIcon' as 'sideFull' | 'sideIcon' | 'top',
},
reportError: {
where: 'device',
@ -356,7 +354,7 @@ export const defaultStore = markRaw(new Storage('base', {
},
numberOfPageCache: {
where: 'device',
default: 3,
default: 2,
},
showNoteActionsOnlyHover: {
where: 'device',
@ -372,7 +370,7 @@ export const defaultStore = markRaw(new Storage('base', {
},
limitWidthOfReaction: {
where: 'device',
default: true,
default: false,
},
forceShowAds: {
where: 'device',
@ -388,7 +386,7 @@ export const defaultStore = markRaw(new Storage('base', {
},
mediaListWithOneImageAppearance: {
where: 'device',
default: 'expand' as 'expand' | '16_9' | '1_1' | '2_3',
default: '16_9' as 'expand' | '16_9' | '1_1' | '2_3',
},
notificationPosition: {
where: 'device',
@ -426,8 +424,8 @@ export const defaultStore = markRaw(new Storage('base', {
where: 'device',
default: {
media: false,
avatar: false,
urlPreview: false,
avatar: true,
urlPreview: true,
code: false,
} as Record<string, boolean>,
},
@ -448,7 +446,7 @@ export const defaultStore = markRaw(new Storage('base', {
},
enableHorizontalSwipe: {
where: 'device',
default: true,
default: false,
},
useNativeUIForVideoAudioPlayer: {
where: 'device',