upd: add option to disable server disconnect warning

Closes transfem-org/Sharkey#152
This commit is contained in:
Mar0xy 2023-11-15 23:59:29 +01:00
parent 8779c0defd
commit 62bb0d1eaa
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
5 changed files with 5 additions and 1 deletions

View file

@ -184,7 +184,7 @@ export const defaultStore = markRaw(new Storage('base', {
},
serverDisconnectedBehavior: {
where: 'device',
default: 'quiet' as 'quiet' | 'reload' | 'dialog',
default: 'quiet' as 'quiet' | 'reload' | 'dialog' | 'disabled',
},
nsfw: {
where: 'device',