From 9641e0d2c623fde92be6e996df90e1d6586fd906 Mon Sep 17 00:00:00 2001 From: KMY Date: Sun, 3 Sep 2023 10:29:18 +0900 Subject: [PATCH] Remove additional emoji reaction setting --- app/models/concerns/has_user_settings.rb | 2 +- app/views/settings/preferences/other/show.html.haml | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app/models/concerns/has_user_settings.rb b/app/models/concerns/has_user_settings.rb index abc12cfb44..62c617f731 100644 --- a/app/models/concerns/has_user_settings.rb +++ b/app/models/concerns/has_user_settings.rb @@ -68,7 +68,7 @@ module HasUserSettings end def setting_emoji_reaction_streaming_notify_impl2 - settings['emoji_reaction_streaming_notify_impl2'] + false end def setting_unfollow_modal diff --git a/app/views/settings/preferences/other/show.html.haml b/app/views/settings/preferences/other/show.html.haml index 788f8ac854..a66d8cc6f6 100644 --- a/app/views/settings/preferences/other/show.html.haml +++ b/app/views/settings/preferences/other/show.html.haml @@ -51,9 +51,6 @@ .fields-group = ff.input :default_sensitive, wrapper: :with_label, label: I18n.t('simple_form.labels.defaults.setting_default_sensitive'), hint: I18n.t('simple_form.hints.defaults.setting_default_sensitive') - .fields-group - = ff.input :emoji_reaction_streaming_notify_impl2, as: :boolean, wrapper: :with_label, kmyblue: true, label: I18n.t('simple_form.labels.defaults.setting_emoji_reaction_streaming_notify_impl2'), hint: I18n.t('simple_form.hints.defaults.setting_emoji_reaction_streaming_notify_impl2') - %h4= t 'preferences.public_timelines' .fields-group