about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorkibigo! <marrus-sh@users.noreply.github.com>2017-12-04 00:19:39 -0800
committerkibigo! <marrus-sh@users.noreply.github.com>2017-12-04 00:19:39 -0800
commit1c74ede69e7a9916c19da6f05daa215231eba81c (patch)
treeab706a8587b89abedcf47465c1f6cbb9ca2532cc /app/views
parent7c75702d05483747cbeb5be0a0745143b9bedc5b (diff)
Fixed a name + localizations
Diffstat (limited to 'app/views')
-rw-r--r--app/views/settings/preferences/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/settings/preferences/show.html.haml b/app/views/settings/preferences/show.html.haml
index 030a902cf..40589fbec 100644
--- a/app/views/settings/preferences/show.html.haml
+++ b/app/views/settings/preferences/show.html.haml
@@ -26,7 +26,7 @@
   %h4= t 'preferences.web'
 
   .fields-group
-    - if Themes.instance.names.size > 1
+    - if Themes.instance.flavours.size > 1
       = f.input :setting_flavour, collection: Themes.instance.flavours, label_method: lambda { |flavour| I18n.t("themes.#{flavour}", default: flavour) }, wrapper: :with_label, include_blank: false
       = f.input :setting_skin, collection: Themes.instance.skins_for(current_theme), label_method: lambda { |skin| I18n.t("themes.#{current_theme}.skins.#{skin}", default: skin) }, wrapper: :with_label, include_blank: false