aboutsummaryrefslogtreecommitdiff
path: root/src/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/tubo/components/audio_player.cljs9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/frontend/tubo/components/audio_player.cljs b/src/frontend/tubo/components/audio_player.cljs
index 8935a0d..d69f232 100644
--- a/src/frontend/tubo/components/audio_player.cljs
+++ b/src/frontend/tubo/components/audio_player.cljs
@@ -132,8 +132,9 @@
{:label "Add to playlist"
:icon [:i.fa-solid.fa-plus]
:on-click #(rf/dispatch [::events/add-bookmark-list-modal
- [bookmarks/add-to-bookmark-list-modal current-stream]])}]
+ [bookmarks/add-to-bookmark-list-modal current-stream]])}
+ {:label "Close player"
+ :icon [:i.fa-solid.fa-close]
+ :on-click #(rf/dispatch [::events/dispose-audio-player])}]
:menu-styles {:bottom "0px" :top nil}
- :extra-classes "pt-1 !pl-2 pr-2 "]
- [player/button [:i.fa-solid.fa-close] #(rf/dispatch [::events/dispose-audio-player])
- :show-on-mobile? true]]]])))))
+ :extra-classes "pt-1 !pl-2 pr-2 "]]]])))))