mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 22:27:59 +01:00
fix false references to old default theme
This commit is contained in:
parent
0142cd6efe
commit
6ca1c4bb74
2 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ defmodule Philomena.Users.User do
|
|||
|
||||
# Settings
|
||||
field :spoiler_type, :string, default: "static"
|
||||
field :theme, :string, default: "default"
|
||||
field :theme, :string, default: "dark-blue"
|
||||
field :images_per_page, :integer, default: 15
|
||||
field :show_large_thumbnails, :boolean, default: true
|
||||
field :show_sidebar_and_watched_images, :boolean, default: true
|
||||
|
|
|
@ -99,7 +99,7 @@ defmodule PhilomenaWeb.LayoutView do
|
|||
do: ~p"/css/light-blue.css"
|
||||
|
||||
def theme_name(%{theme: theme}), do: theme
|
||||
def theme_name(_user), do: "default"
|
||||
def theme_name(_user), do: "dark-blue"
|
||||
|
||||
def artist_tags(tags),
|
||||
do: Enum.filter(tags, &(&1.namespace == "artist"))
|
||||
|
|
Loading…
Reference in a new issue