Skip to content

Commit

Permalink
fix false references to old default theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Meow committed Dec 17, 2024
1 parent 0142cd6 commit 6ca1c4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/philomena/users/user.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/philomena_web/views/layout_view.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 6ca1c4b

Please sign in to comment.