diff options
-rw-r--r-- | src/frontend/tubo/bg_player/views.cljs | 2 | ||||
-rw-r--r-- | src/frontend/tubo/queue/views.cljs | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/frontend/tubo/bg_player/views.cljs b/src/frontend/tubo/bg_player/views.cljs index 84aab74..0e4f108 100644 --- a/src/frontend/tubo/bg_player/views.cljs +++ b/src/frontend/tubo/bg_player/views.cljs @@ -226,7 +226,7 @@ :icon [:i.fa-solid.fa-heart (when liked? {:style {:color color}})] :on-click #(rf/dispatch [(if liked? :likes/remove :likes/add) - stream])} + stream true])} {:label "Play radio" :icon [:i.fa-solid.fa-tower-cell] :on-click #(rf/dispatch [:bg-player/start-radio stream])} diff --git a/src/frontend/tubo/queue/views.cljs b/src/frontend/tubo/queue/views.cljs index d382466..7088ade 100644 --- a/src/frontend/tubo/queue/views.cljs +++ b/src/frontend/tubo/queue/views.cljs @@ -39,7 +39,8 @@ :icon [:i.fa-solid.fa-heart (when liked? {:style {:color (utils/get-service-color service-id)}})] - :on-click #(rf/dispatch [(if liked? :likes/remove :likes/add) item])} + :on-click #(rf/dispatch [(if liked? :likes/remove :likes/add) item + true])} {:label "Play radio" :icon [:i.fa-solid.fa-tower-cell] :on-click #(rf/dispatch [:bg-player/start-radio item])} |