From 27bcd66968d62bdeae45713e71dfded6e9707a9b Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Tue, 23 Jan 2024 16:24:49 +0100 Subject: feat(frontend): change the order of loop playback selection --- src/frontend/tubo/events.cljs | 6 +++--- 1 file 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)}))) -- cgit v1.2.3