From 68a246eb0a84467b4a290e5bf914a83cd7529fd7 Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Tue, 4 Jun 2024 14:15:02 +0200 Subject: fix: fix settings handlers --- src/frontend/tubo/settings/views.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/frontend') diff --git a/src/frontend/tubo/settings/views.cljs b/src/frontend/tubo/settings/views.cljs index ef1a1c5..207d125 100644 --- a/src/frontend/tubo/settings/views.cljs +++ b/src/frontend/tubo/settings/views.cljs @@ -26,10 +26,10 @@ [select-input "Theme" :theme theme #{:auto :light :dark}] [select-input "Default service" :default-service (:id default-service) (map #(-> % :info :name) services) - #(rf/dispatch [:settings/change (.. % -target -value)])] + #(rf/dispatch [:settings/change-service (.. % -target -value)])] [select-input "Default kiosk" :default-service (:default-kiosk default-service) (:available-kiosks default-service) - #(rf/dispatch [:settings/change (.. % -target -value)])] + #(rf/dispatch [:settings/change-kiosk (.. % -target -value)])] [boolean-input "Show description" :show-description show-description] [boolean-input "Show comments" :show-comments show-comments] [boolean-input "Show related videos" :show-related show-related]]])) -- cgit v1.2.3