about summary refs log tree commit diff
path: root/app/views/settings/preferences/appearance
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-06-26 19:33:04 +0200
committerEugen Rochko <eugen@zeonfederated.com>2019-06-26 19:33:04 +0200
commit3086c645fde2345d34e401bdf3e2f19f19da3294 (patch)
treeed008141ad3a2b7757c1b70d69419082ac3d4537 /app/views/settings/preferences/appearance
parent915c619394165a114a4ab316165aecac3386cf2f (diff)
Add option to disable blurhash previews (#11188)
* Add option to disable blurhash previews

* Update option text

* Change options order
Diffstat (limited to 'app/views/settings/preferences/appearance')
-rw-r--r--app/views/settings/preferences/appearance/show.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/settings/preferences/appearance/show.html.haml b/app/views/settings/preferences/appearance/show.html.haml
index 10f009264..c13882801 100644
--- a/app/views/settings/preferences/appearance/show.html.haml
+++ b/app/views/settings/preferences/appearance/show.html.haml
@@ -35,6 +35,9 @@
     = f.input :setting_display_media, collection: ['default', 'show_all', 'hide_all'],label_method: lambda { |item| t("simple_form.hints.defaults.setting_display_media_#{item}") }, hint: false, as: :radio_buttons, collection_wrapper_tag: 'ul', item_wrapper_tag: 'li', wrapper: :with_floating_label
 
   .fields-group
+    = f.input :setting_use_blurhash, as: :boolean, wrapper: :with_label
+
+  .fields-group
     = f.input :setting_expand_spoilers, as: :boolean, wrapper: :with_label
 
   .actions