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
|
@ -80,6 +80,10 @@ class User < ApplicationRecord
|
|||
settings.boost_modal
|
||||
end
|
||||
|
||||
def setting_delete_modal
|
||||
settings.delete_modal
|
||||
end
|
||||
|
||||
def setting_auto_play_gif
|
||||
settings.auto_play_gif
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue