update api descs

This commit is contained in:
end-4
2024-03-25 16:13:30 +07:00
parent 3065f17289
commit db1ee9bc52
2 changed files with 7 additions and 3 deletions
+4 -1
View File
@@ -101,7 +101,10 @@ export const BooruSettings = () => MarginRevealer({
ConfigToggle({
icon: 'menstrual_health',
name: 'Lewds',
desc: 'Shows naughty stuff when enabled',
desc: `Shows naughty stuff when enabled.\nYa like those? Add this to user_options.js:
'sidebar': {
'imageAllowNsfw': true,
},`,
initValue: BooruService.nsfw,
onChange: (self, newValue) => {
BooruService.nsfw = newValue;