diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2024-01-23 16:24:49 +0100 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2024-01-23 16:24:49 +0100 |
commit | 27bcd66968d62bdeae45713e71dfded6e9707a9b (patch) | |
tree | da1727f5efd17710b258faa18fb987da0d10d5fc | |
parent | b5e3bd78eee7dcbf2d69aec116b89ac6e74619cd (diff) |
feat(frontend): change the order of loop playback selection
-rw-r--r-- | src/frontend/tubo/events.cljs | 6 |
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)}))) |