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