aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2024-01-23 16:24:49 +0100
committerMiguel Ángel Moreno <mail@migalmoreno.com>2024-01-23 16:24:49 +0100
commit27bcd66968d62bdeae45713e71dfded6e9707a9b (patch)
treeda1727f5efd17710b258faa18fb987da0d10d5fc
parentb5e3bd78eee7dcbf2d69aec116b89ac6e74619cd (diff)
feat(frontend): change the order of loop playback selection
-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)})))