copy sharkey settings into new frontend preferences model

This commit is contained in:
Hazelnoot 2025-03-31 14:53:02 -04:00
parent 59ce4d6c28
commit c371af34e8
50 changed files with 468 additions and 425 deletions

View file

@ -884,7 +884,7 @@ async function post(ev?: MouseEvent) {
}
}
if (defaultStore.state.warnMissingAltText) {
if (prefer.s.warnMissingAltText) {
const filesData = toRaw(files.value);
const isMissingAltText = filesData.filter(
@ -952,7 +952,7 @@ async function post(ev?: MouseEvent) {
}
}
let token: string | undefined = undefined;
let token: string | null | undefined = undefined;
if (postAccount.value) {
const storedAccounts = await getAccounts();