Allow user to disable the boost confirm dialog in preferences

This commit is contained in:
blackle 2017-04-11 10:10:16 -04:00
parent f53fb6aa66
commit 06444bf050
9 changed files with 22 additions and 7 deletions

View file

@ -5,6 +5,7 @@ node(:meta) do
access_token: @token,
locale: I18n.locale,
me: current_account.id,
boost_modal: current_account.user.setting_boost_modal,
}
end

View file

@ -22,5 +22,8 @@
= ff.input :must_be_follower, as: :boolean, wrapper: :with_label
= ff.input :must_be_following, as: :boolean, wrapper: :with_label
.fields-group
= f.input :setting_boost_modal, as: :boolean, wrapper: :with_label
.actions
= f.button :button, t('generic.save_changes'), type: :submit