remove setting_show_tab_bar_label

This commit is contained in:
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_always_send_emails,
: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),
interactions: %i(must_be_follower must_be_following must_be_following_dm)
)

Submodule app/javascript/styles/y-zu-dark added at a58c699a60

Submodule app/javascript/styles/y-zu-light added at a5c2283144

View File

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