about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authorLynx Kotoura <admin@sanin.link>2017-10-06 20:29:53 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-10-06 13:29:53 +0200
commitdaa59dd4546b810fe1d3f48e76c1f9f67dabad0f (patch)
tree494a37fbd6e0b222c8d0bc1b52061aaff595e147 /app/lib
parent72d939b69fca9443038d89815ca5356319f42c43 (diff)
Fix theme settings (#5242)
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/user_settings_decorator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/user_settings_decorator.rb b/app/lib/user_settings_decorator.rb
index 1053ec488..cd4cf4b32 100644
--- a/app/lib/user_settings_decorator.rb
+++ b/app/lib/user_settings_decorator.rb
@@ -25,7 +25,7 @@ class UserSettingsDecorator
     user.settings['auto_play_gif']       = auto_play_gif_preference if change?('setting_auto_play_gif')
     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?('theme')
+    user.settings['theme']               = theme_preference if change?('setting_theme')
   end
 
   def merged_notification_emails