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:
parent
491c172ae7
commit
4639f4ef27
3 changed files with 9 additions and 7 deletions
|
|
@ -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"]])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue