feat: add setting for infinite scroll
This commit is contained in:
1 parent
82e3c8efd6
commit
ef74a4e6d2
5 files changed
+34
-16
No files matched your search
@@ -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,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user