aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/frontend/tubo/events.cljs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/frontend/tubo/events.cljs b/src/frontend/tubo/events.cljs
index 1305853..1f4b7de 100644
--- a/src/frontend/tubo/events.cljs
+++ b/src/frontend/tubo/events.cljs
@@ -190,9 +190,9 @@
[(rf/inject-cofx :store)]
(fn [{:keys [db store]} _]
(let [loop-state (case (:loop-playback db)
- :stream :playlist
- :playlist false
- :stream)]
+ :stream false
+ :playlist :stream
+ :playlist)]
{:db (assoc db :loop-playback loop-state)
:store (assoc store :loop-playback loop-state)})))