feat: image attachment thumbnails and preview chips
This commit is contained in:
@@ -34,6 +34,7 @@ export function ReadingSettings() {
|
||||
hoverActionsMode,
|
||||
hoverActionsCorner,
|
||||
hideInlineImageAttachments,
|
||||
attachmentImagePreviewsEnabled,
|
||||
updateSetting,
|
||||
} = useSettingsStore();
|
||||
|
||||
@@ -206,6 +207,13 @@ export function ReadingSettings() {
|
||||
/>
|
||||
</SettingItem>
|
||||
|
||||
<SettingItem label={t('attachment_image_previews.label')} description={t('attachment_image_previews.description')}>
|
||||
<ToggleSwitch
|
||||
checked={attachmentImagePreviewsEnabled}
|
||||
onChange={(checked) => updateSetting('attachmentImagePreviewsEnabled', checked)}
|
||||
/>
|
||||
</SettingItem>
|
||||
|
||||
{isFeatureEnabled('hoverActionsConfigEnabled') && (
|
||||
<div className="py-3 border-b border-border space-y-3">
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user