Add preference setting for delete toot modal (#3368)
* Set delete_modal preference to true by default * Does not show confirmation modal if delete_modal is false * Add ja translation for preference setting page
This commit is contained in:
parent
b5e8994844
commit
402c19a924
12 changed files with 46 additions and 10 deletions
|
@ -35,6 +35,7 @@ class Settings::PreferencesController < ApplicationController
|
|||
params.require(:user).permit(
|
||||
:setting_default_privacy,
|
||||
:setting_boost_modal,
|
||||
:setting_delete_modal,
|
||||
:setting_auto_play_gif,
|
||||
notification_emails: %i(follow follow_request reblog favourite mention digest),
|
||||
interactions: %i(must_be_follower must_be_following)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue