Merge pull request #2591 from philjak/add_bookshelf_view_type_to_env

Adding APP_VIEWS_BOOKSHELF to .ENV
This commit is contained in:
Dan Brown 2021-02-25 22:00:03 +00:00 committed by GitHub
commit 7b6f8cb902
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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'),
],