about summary refs log tree commit diff
diff options
context:
space:
mode:
authorcwm <chriswmartin@protonmail.com>2017-12-09 12:17:20 -0600
committercwm <chriswmartin@protonmail.com>2017-12-09 12:17:20 -0600
commit7284e36fbdd4d6084aa85e8b1eeb56247c3cab3d (patch)
tree322be9ea6b25cd7cde0ddc4165e3a56ed265bafb
parent22cdbca82c06cced9568f0bd9361593a2c0eba81 (diff)
fixed fav setting change
-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 d69181b5d..5f0176f27 100644
--- a/app/lib/user_settings_decorator.rb
+++ b/app/lib/user_settings_decorator.rb
@@ -21,7 +21,7 @@ class UserSettingsDecorator
     user.settings['default_sensitive']   = default_sensitive_preference if change?('setting_default_sensitive')
     user.settings['unfollow_modal']      = unfollow_modal_preference if change?('setting_unfollow_modal')
     user.settings['boost_modal']         = boost_modal_preference if change?('setting_boost_modal')
-    user.settings['favourite_modal']         = boost_modal_preference if change?('setting_boost_modal')
+    user.settings['favourite_modal']         = favourite_modal_preference if change?('setting_favourite_modal')
     user.settings['delete_modal']        = delete_modal_preference if change?('setting_delete_modal')
     user.settings['auto_play_gif']       = auto_play_gif_preference if change?('setting_auto_play_gif')
     user.settings['reduce_motion']       = reduce_motion_preference if change?('setting_reduce_motion')