Adding APP_VIEWS_BOOKSHELF to .ENV

This commit is contained in:
Philip 2021-02-25 07:51:38 +01:00
parent 2df82dd870
commit 111835f402
2 changed files with 2 additions and 0 deletions

View file

@ -250,6 +250,7 @@ DRAWIO=true
# Can be 'list' or 'grid'.
APP_VIEWS_BOOKS=list
APP_VIEWS_BOOKSHELVES=grid
APP_VIEWS_BOOKSHELF=grid
# Use dark mode by default
# Will be overriden by any user/session preference.

View file

@ -28,6 +28,7 @@ return [
'user' => [
'dark-mode-enabled' => env('APP_DEFAULT_DARK_MODE', false),
'bookshelves_view_type' => env('APP_VIEWS_BOOKSHELVES', 'grid'),
'bookshelf_view_type' =>env('APP_VIEWS_BOOKSHELF', 'grid'),
'books_view_type' => env('APP_VIEWS_BOOKS', 'grid'),
],