1
0
Fork 0
mirror of https://github.com/heyarne/airsonic-ui.git synced 2026-05-07 02:33:39 +02:00

Pause current track when starting next, implement play / pause

This commit is contained in:
Arne Schlüter 2018-04-22 01:19:19 +02:00
commit 4639f4ef27
3 changed files with 9 additions and 7 deletions

View file

@ -69,7 +69,7 @@
(defn playback-controls []
[:div
[:button "previous"]
[:button "play / pause"]
[:button {:on-click #(re-frame/dispatch [::events/toggle-play-pause])} "play / pause"]
[:button "next"]
[:label [:input {:type "checkbox"}] "shuffle"]
[:label [:input {:type "checkbox"}] "repeat"]])