chore(preferences): fix font size option and restore barkey defaults

This commit is contained in:
zima 2025-07-02 13:54:06 -07:00
parent 12a49cdda5
commit bb89792f15
3 changed files with 5 additions and 4 deletions

View file

@ -687,6 +687,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<SearchMarker :keywords="['font', 'size']">
<MkRadios v-model="fontSize">
<template #label><SearchLabel>{{ i18n.ts.fontSize }}</SearchLabel></template>
<option value="-1"><span style="font-size: 12.5px;">Aa</span></option>
<option value="0"><span style="font-size: 14px;">Aa</span></option>
<option value="1"><span style="font-size: 15px;">Aa</span></option>
<option value="2"><span style="font-size: 16px;">Aa</span></option>

View file

@ -190,7 +190,7 @@ export const PREF_DEF = {
default: window.matchMedia('(prefers-reduced-motion)').matches,
},
emojiStyle: {
default: 'twemoji', // twemoji / fluentEmoji / native
default: 'fluentEmoji', // twemoji / fluentEmoji / native
},
menuStyle: {
default: 'auto' as 'auto' | 'popup' | 'drawer',
@ -469,7 +469,7 @@ export const PREF_DEF = {
default: false,
},
visibilityOnBoost: {
default: 'public' as 'public' | 'home' | 'followers',
default: 'followers' as 'public' | 'home' | 'followers',
},
warnExternalUrl: {
default: true,
@ -494,7 +494,7 @@ export const PREF_DEF = {
miLocalStorage.removeItem('fontSize');
}
},
} as Pref<'0' | '1' | '2' | '3'>,
} as Pref<'-1' | '0' | '1' | '2' | '3'>,
useSystemFont: {
default: false,
needsReload: true,

View file

@ -48,7 +48,7 @@ export const store = markRaw(new Pizzax('base', {
},
reactionAcceptance: {
where: 'account',
default: 'nonSensitiveOnly' as 'likeOnly' | 'likeOnlyForRemote' | 'nonSensitiveOnly' | 'nonSensitiveOnlyForLocalLikeOnlyForRemote' | null,
default: null as 'likeOnly' | 'likeOnlyForRemote' | 'nonSensitiveOnly' | 'nonSensitiveOnlyForLocalLikeOnlyForRemote' | null,
},
mutedAds: {
where: 'account',