This commit is contained in:
parent
6506429f09
commit
4906f1f45c
|
@ -593,6 +593,7 @@ function showOtherSettings() {
|
|||
},
|
||||
}, { type: 'divider' }, {
|
||||
type: 'switch',
|
||||
icon: 'ti ti-eye',
|
||||
text: i18n.ts.preview,
|
||||
ref: showPreview,
|
||||
}, {
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue