aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/frontend/tubo/events.cljs2
-rw-r--r--src/frontend/tubo/main_player/events.cljs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/tubo/events.cljs b/src/frontend/tubo/events.cljs
index 8f08164..f0edf47 100644
--- a/src/frontend/tubo/events.cljs
+++ b/src/frontend/tubo/events.cljs
@@ -36,7 +36,7 @@
:queue (if-nil (:queue store) [])
:service-id (if-nil (:service-id store) 0)
:player/loop (if-nil (:player/loop store) :playlist)
- :queue/position (if-nil (:palyer/position store) 0)
+ :queue/position (if-nil (:queue/position store) 0)
:player/volume (if-nil (:player/volume store) 100)
:bg-player/show (:bg-player/show store)
:bookmarks (if-nil (:bookmarks store)
diff --git a/src/frontend/tubo/main_player/events.cljs b/src/frontend/tubo/main_player/events.cljs
index da9676e..8c3c693 100644
--- a/src/frontend/tubo/main_player/events.cljs
+++ b/src/frontend/tubo/main_player/events.cljs
@@ -41,7 +41,7 @@
:main-player/toggle-layout
(fn [db [_ layout]]
(assoc-in db
- [:queue (:queue-pos db) layout]
+ [:queue (:queue/position db) layout]
(not (get-in db [:queue (:queue/position db) layout])))))
(rf/reg-event-fx