|
|
@ -26,7 +26,7 @@ class UserSettingsDecorator |
|
|
|
user.settings['reduce_motion'] = reduce_motion_preference if change?('setting_reduce_motion') |
|
|
|
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['system_font_ui'] = system_font_ui_preference if change?('setting_system_font_ui') |
|
|
|
user.settings['noindex'] = noindex_preference if change?('setting_noindex') |
|
|
|
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') |
|
|
|
user.settings['skin'] = skin_preference if change?('setting_skin') |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
@ -74,8 +74,8 @@ class UserSettingsDecorator |
|
|
|
boolean_cast_setting 'setting_noindex' |
|
|
|
boolean_cast_setting 'setting_noindex' |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
def theme_preference |
|
|
|
def flavour_preference |
|
|
|
settings['setting_theme'] |
|
|
|
settings['setting_flavour'] |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
def skin_preference |
|
|
|
def skin_preference |
|
|
|