This commit is contained in:
mattyatea 2023-10-08 00:25:33 +09:00
parent 3bc93e519e
commit 271d3483b2
5 changed files with 64 additions and 17 deletions

View file

@ -65,7 +65,7 @@ const withReplies_store = computed(defaultStore.makeGetterSetter('withRenotes')
const withRenotes_store = computed(defaultStore.makeGetterSetter('withReplies'))
const onlyFiles_store = computed(defaultStore.makeGetterSetter('onlyFiles'))
const withRenotes = $ref(defaultStore.state.onlyAndWithSave ? withRenotes_store : true);
const withReplies = $ref(defaultStore.state.onlyAndWithSave ? withReplies_store : false);
const withReplies = $ref(defaultStore.state.onlyAndWithSave ? withReplies_store : true);
const onlyFiles = $ref(defaultStore.state.onlyAndWithSave ? onlyFiles_store : false);
const isShowMediaTimeline = $ref(defaultStore.state.showMediaTimeline)
watch($$(src), () => queue = 0);

View file

@ -362,7 +362,7 @@ export const defaultStore = markRaw(new Storage('base', {
},
onlyAndWithSave:{
where: 'device',
default: true,
default: false,
},
onlyFiles:{
where: 'device',
@ -370,7 +370,7 @@ export const defaultStore = markRaw(new Storage('base', {
},
withReplies:{
where: 'device',
default: false,
default: true,
},
withRenotes:{
where: 'device',