feat: add setting for infinite scroll

This commit is contained in:
Xylight committed 2024-07-04 13:40:33 -07:00
1 parent 82e3c8efd6
commit ef74a4e6d2
5 files changed
+34 -16

No files matched your search

+2
View File
@@ -88,6 +88,7 @@ interface Settings {
compactFeatured: boolean
showHidden: boolean
}
infiniteScroll: boolean
language: string | null
translator: string | undefined
}
@@ -155,6 +156,7 @@ export const defaultSettings: Settings = {
compactFeatured: toBool(env.PUBLIC_COMPACT_FEATURED) ?? true,
showHidden: false,
},
infiniteScroll: true,
language: env.PUBLIC_LANGUAGE ?? null,
translator: env.PUBLIC_TRANSLATOR ?? undefined,
}