From 0615f44bfa9281369d2f61afbc5a1d732bbb94bf Mon Sep 17 00:00:00 2001 From: trisua Date: Wed, 9 Apr 2025 21:26:34 -0400 Subject: [PATCH] fix(ui): theme panic --- crates/app/src/public/html/components.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/app/src/public/html/components.html b/crates/app/src/public/html/components.html index 51941b2..3dd6095 100644 --- a/crates/app/src/public/html/components.html +++ b/crates/app/src/public/html/components.html @@ -447,7 +447,7 @@ config.town_square and user %} }); } -{% endif %} {%- endmacro %} {% macro theme(user) -%} {% if +{% endif %} {%- endmacro %} {% macro theme(user) -%} {% if user %} {% if user.settings.theme_hue %} +{% if user.settings.theme_preference %} -{% endif %} {%- endmacro %} +{% endif %} {% endif %} {% endif %} {%- endmacro %}