aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2024-06-04 14:15:02 +0200
committerMiguel Ángel Moreno <mail@migalmoreno.com>2024-06-04 14:15:02 +0200
commit68a246eb0a84467b4a290e5bf914a83cd7529fd7 (patch)
tree87819fbe9e910859a3703a1af16b7094428ad1e4 /src
parent2d2cbd772dd025312fc4fe2e70ff36241fc9cf7f (diff)
fix: fix settings handlers
Diffstat (limited to 'src')
-rw-r--r--src/frontend/tubo/settings/views.cljs4
1 files changed, 2 insertions, 2 deletions
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]]]))