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
|
@ -102,6 +102,10 @@ class User < ApplicationRecord
|
|||
settings.auto_play_gif
|
||||
end
|
||||
|
||||
def setting_reduce_motion
|
||||
settings.reduce_motion
|
||||
end
|
||||
|
||||
def setting_system_font_ui
|
||||
settings.system_font_ui
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue