more local settings

This commit is contained in:
Henry Jameson 2026-03-15 19:08:02 +02:00
commit d0fb8bcf85
7 changed files with 23 additions and 10 deletions

View file

@ -62,12 +62,18 @@
</IntegerSetting>
</li>
<li>
<BooleanSetting path="hideAttachments">
<BooleanSetting
:local="true"
path="hideAttachments"
>
{{ $t('settings.hide_attachments_in_tl') }}
</BooleanSetting>
</li>
<li>
<BooleanSetting path="hideAttachmentsInConv">
<BooleanSetting
:local="true"
path="hideAttachmentsInConv"
>
{{ $t('settings.hide_attachments_in_convo') }}
</BooleanSetting>
</li>

View file

@ -91,6 +91,7 @@
<li>
<BooleanSetting
path="imageCompression"
:local="true"
expert="1"
>
{{ $t('settings.image_compression') }}
@ -99,6 +100,7 @@
<li>
<BooleanSetting
path="alwaysUseJpeg"
:local="true"
expert="1"
parent-path="imageCompression"
>

View file

@ -68,7 +68,6 @@
name="ui"
:label="$t('settings.style.fonts.components_inline.interface')"
:fallback="{ family: 'sans-serif' }"
:is-local="true"
no-inherit="1"
@update:model-value="v => updateFont('interface', v)"
/>
@ -77,7 +76,6 @@
<FontControl
:model-value="theme3hacks.fonts.input"
name="input"
:is-local="true"
:fallback="{ family: 'inherit' }"
:label="$t('settings.style.fonts.components_inline.input')"
@update:model-value="v => updateFont('input', v)"
@ -100,6 +98,7 @@
<FloatSetting
v-if="user"
path="emojiReactionsScale"
:local="true"
>
{{ $t('settings.emoji_reactions_scale') }}
</FloatSetting>

View file

@ -40,6 +40,7 @@
<li>
<UnitSetting
path="themeEditorMinWidth"
:local="true"
:units="['px', 'rem']"
expert="1"
>
@ -83,12 +84,18 @@
</UnitSetting>
</li>
<li>
<BooleanSetting path="sidebarRight">
<BooleanSetting
:local="true"
path="sidebarRight"
>
{{ $t('settings.right_sidebar') }}
</BooleanSetting>
</li>
<li>
<BooleanSetting path="navbarColumnStretch">
<BooleanSetting
:local="true"
path="navbarColumnStretch"
>
{{ $t('settings.navbar_column_stretch') }}
</BooleanSetting>
</li>