From e03c822b51c6a45ee37e63b1f9cbd4e3516b1d82 Mon Sep 17 00:00:00 2001 From: Miguel de Benito Delgado Date: Wed, 2 Jul 2025 09:57:56 +0200 Subject: [PATCH] :bug: Fix internal error on missing theme setting in profile (#6822) --- frontend/src/app/main/data/profile.cljs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/main/data/profile.cljs b/frontend/src/app/main/data/profile.cljs index 12d9d32a72..f8521484af 100644 --- a/frontend/src/app/main/data/profile.cljs +++ b/frontend/src/app/main/data/profile.cljs @@ -172,7 +172,9 @@ current)] (case current "dark" "light" - "light" "dark"))))) + "light" "dark" + ; Failsafe for missing data + "dark"))))) ptk/WatchEvent (watch [it state _]