From daa59dd4546b810fe1d3f48e76c1f9f67dabad0f Mon Sep 17 00:00:00 2001 From: Lynx Kotoura Date: Fri, 6 Oct 2017 20:29:53 +0900 Subject: [PATCH] Fix theme settings (#5242) --- app/lib/user_settings_decorator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/user_settings_decorator.rb b/app/lib/user_settings_decorator.rb index 1053ec488b..cd4cf4b324 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