|
|
@ -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 |
|
|
|