Add option to disable blurhash previews (#11188)

* Add option to disable blurhash previews

* Update option text

* Change options order
This commit is contained in:
ThibG authored and Eugen Rochko committed 2019-06-26 19:33:04 +02:00
1 parent 915c619394
commit 3086c645fd
10 files changed
+21 -3

No files matched your search

@@ -32,6 +32,7 @@ class InitialStateSerializer < ActiveModel::Serializer
store[:expand_spoilers] = object.current_account.user.setting_expand_spoilers
store[:reduce_motion] = object.current_account.user.setting_reduce_motion
store[:advanced_layout] = object.current_account.user.setting_advanced_layout
store[:use_blurhash] = object.current_account.user.setting_use_blurhash
store[:is_staff] = object.current_account.user.staff?
end