logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: daa59dd4546b810fe1d3f48e76c1f9f67dabad0f
parent: 72d939b69fca9443038d89815ca5356319f42c43
Author: Lynx Kotoura <admin@sanin.link>
Date:   Fri,  6 Oct 2017 20:29:53 +0900

Fix theme settings (#5242)


Diffstat:

Mapp/lib/user_settings_decorator.rb2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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