about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authorkibigo! <marrus-sh@users.noreply.github.com>2017-12-04 21:54:36 -0800
committerkibigo! <marrus-sh@users.noreply.github.com>2017-12-04 21:58:10 -0800
commit5bed0f10ed4628049ca14fb188804654574be1bf (patch)
tree22712adce094c3a2d6d975393308035524e3c8ff /app/lib
parenta807e3b71bcc052d4b0859dd42739b4ae7def098 (diff)
Various fixes
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/user_settings_decorator.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/lib/user_settings_decorator.rb b/app/lib/user_settings_decorator.rb
index 730c70177..8af384a2d 100644
--- a/app/lib/user_settings_decorator.rb
+++ b/app/lib/user_settings_decorator.rb
@@ -26,7 +26,7 @@ class UserSettingsDecorator
     user.settings['reduce_motion']       = reduce_motion_preference if change?('setting_reduce_motion')
     user.settings['system_font_ui']      = system_font_ui_preference if change?('setting_system_font_ui')
     user.settings['noindex']             = noindex_preference if change?('setting_noindex')
-    user.settings['theme']               = theme_preference if change?('setting_theme')
+    user.settings['flavour']             = flavour_preference if change?('setting_flavour')
     user.settings['skin']                = skin_preference if change?('setting_skin')
   end
 
@@ -74,8 +74,8 @@ class UserSettingsDecorator
     boolean_cast_setting 'setting_noindex'
   end
 
-  def theme_preference
-    settings['setting_theme']
+  def flavour_preference
+    settings['setting_flavour']
   end
 
   def skin_preference