Add option to reduce motion (#5393)
* Add option to reduce motion * Use HOC to wrap all Motion calls * fix case-sensitive issue * Avoid updating too frequently * Get rid of unnecessary change to _simple_status.html.haml
This commit is contained in:
parent
981e20b03a
commit
fa0be3f834
21 changed files with 61 additions and 13 deletions
|
@ -25,6 +25,7 @@ class InitialStateSerializer < ActiveModel::Serializer
|
|||
store[:boost_modal] = object.current_account.user.setting_boost_modal
|
||||
store[:delete_modal] = object.current_account.user.setting_delete_modal
|
||||
store[:auto_play_gif] = object.current_account.user.setting_auto_play_gif
|
||||
store[:reduce_motion] = object.current_account.user.setting_reduce_motion
|
||||
end
|
||||
|
||||
store
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue