This commit is contained in:
syuilo 2025-06-07 08:07:23 +09:00
parent 6506429f09
commit 4906f1f45c
3 changed files with 6 additions and 0 deletions

View File

@ -593,6 +593,7 @@ function showOtherSettings() {
},
}, { type: 'divider' }, {
type: 'switch',
icon: 'ti ti-eye',
text: i18n.ts.preview,
ref: showPreview,
}, {

View File

@ -174,6 +174,7 @@ export function useUploader(options: {
}, {
type: 'switch',
text: i18n.ts.sensitive,
icon: 'ti ti-eye-exclamation',
ref: computed({
get: () => item.isSensitive ?? false,
set: (value) => item.isSensitive = value,

View File

@ -226,6 +226,7 @@ const headerActions = computed(() => {
menuItems.push({
type: 'switch',
icon: 'ti ti-repeat',
text: i18n.ts.showRenotes,
ref: withRenotes,
});
@ -233,6 +234,7 @@ const headerActions = computed(() => {
if (isBasicTimeline(src.value) && hasWithReplies(src.value)) {
menuItems.push({
type: 'switch',
icon: 'ti ti-messages',
text: i18n.ts.showRepliesToOthersInTimeline,
ref: withReplies,
disabled: onlyFiles,
@ -241,10 +243,12 @@ const headerActions = computed(() => {
menuItems.push({
type: 'switch',
icon: 'ti ti-eye-exclamation',
text: i18n.ts.withSensitive,
ref: withSensitive,
}, {
type: 'switch',
icon: 'ti ti-photo',
text: i18n.ts.fileAttachedOnly,
ref: onlyFiles,
disabled: isBasicTimeline(src.value) && hasWithReplies(src.value) ? withReplies : false,