fix false references to old default theme

This commit is contained in:
Luna D. 2024-12-17 18:49:43 +01:00
parent 0142cd6efe
commit 6ca1c4bb74
No known key found for this signature in database
GPG key ID: 4B1C63448394F688
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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"))