remove setting_show_tab_bar_label

This commit is contained in:
YoheiZuho 2023-07-10 16:12:43 +00:00
parent 090f82f070
commit d646011a17
4 changed files with 2 additions and 5 deletions

View File

@ -56,7 +56,6 @@ class Settings::PreferencesController < Settings::BaseController
:setting_crop_images, :setting_crop_images,
:setting_always_send_emails, :setting_always_send_emails,
:setting_place_tab_bar_at_bottom, :setting_place_tab_bar_at_bottom,
:setting_show_tab_bar_label,
notification_emails: %i(follow follow_request reblog favourite mention report pending_account trending_tag appeal), notification_emails: %i(follow follow_request reblog favourite mention report pending_account trending_tag appeal),
interactions: %i(must_be_follower must_be_following must_be_following_dm) interactions: %i(must_be_follower must_be_following must_be_following_dm)
) )

@ -0,0 +1 @@
Subproject commit a58c699a605784b3318f54717bfaaa804db4d2f3

@ -0,0 +1 @@
Subproject commit a5c22831445f5669315434f7df49c3c1e1f70d20

View File

@ -142,10 +142,6 @@ class UserSettingsDecorator
boolean_cast_setting 'setting_place_tab_bar_at_bottom' boolean_cast_setting 'setting_place_tab_bar_at_bottom'
end end
def show_tab_bar_label_preference
boolean_cast_setting 'setting_show_tab_bar_label'
end
def boolean_cast_setting(key) def boolean_cast_setting(key)
ActiveModel::Type::Boolean.new.cast(settings[key]) ActiveModel::Type::Boolean.new.cast(settings[key])
end end