add: auto uncollapse CW on all notes option

Closes transfem-org/Sharkey#191
This commit is contained in:
Mar0xy 2023-12-03 19:35:39 +01:00
parent aa4c3dfffe
commit 620be4a9e1
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
10 changed files with 17 additions and 9 deletions

View file

@ -244,7 +244,7 @@ function undoRenote() : void {
}
}
let showContent = $ref(false);
let showContent = $ref(defaultStore.state.uncollapseCW);
watch(() => props.expandAllCws, (expandAllCws) => {
if (expandAllCws !== showContent) showContent = expandAllCws;