Add hide someone setting

This commit is contained in:
KMY 2023-05-15 14:21:30 +09:00
parent 1bcf3e8c0b
commit a85fbcd471
8 changed files with 39 additions and 6 deletions

View file

@ -49,6 +49,18 @@
.fields-group
= f.input :setting_reject_unlisted_subscription, kmyblue: true, as: :boolean, wrapper: :with_label
%h4= t 'preferences.hide'
= f.simple_fields_for :settings, current_user.settings do |ff|
.fields-group
= ff.input :hide_statuses_count, as: :boolean, wrapper: :with_label, kmyblue: true, label: I18n.t('simple_form.labels.defaults.setting_hide_statuses_count'), hint: false
.fields-group
= ff.input :hide_following_count, as: :boolean, wrapper: :with_label, kmyblue: true, label: I18n.t('simple_form.labels.defaults.setting_hide_following_count'), hint: false
.fields-group
= ff.input :hide_followers_count, as: :boolean, wrapper: :with_label, kmyblue: true, label: I18n.t('simple_form.labels.defaults.setting_hide_followers_count'), hint: false
%h4= t 'preferences.public_timelines'
.fields-group