diff options
Diffstat (limited to 'src/frontend')
-rw-r--r-- | src/frontend/tubo/bg_player/views.cljs | 2 | ||||
-rw-r--r-- | src/frontend/tubo/queue/views.cljs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/tubo/bg_player/views.cljs b/src/frontend/tubo/bg_player/views.cljs index 0e4f108..eba528a 100644 --- a/src/frontend/tubo/bg_player/views.cljs +++ b/src/frontend/tubo/bg_player/views.cljs @@ -172,7 +172,7 @@ :on-click #(rf/dispatch [:bg-player/seek (- @!elapsed-time 5)])] [button :icon - (if (and (not loading?) @!player) + (if (and (not loading?) (or (nil? bg-player-ready?) @!player)) (if paused? [:i.fa-solid.fa-play] [:i.fa-solid.fa-pause]) diff --git a/src/frontend/tubo/queue/views.cljs b/src/frontend/tubo/queue/views.cljs index 7088ade..6538c70 100644 --- a/src/frontend/tubo/queue/views.cljs +++ b/src/frontend/tubo/queue/views.cljs @@ -119,7 +119,7 @@ :show-on-mobile? true] [player/button :icon - (if (and (not loading?) @!player) + (if (and (not loading?) (or (nil? bg-player-ready?) @!player)) (if paused? [:i.fa-solid.fa-play] [:i.fa-solid.fa-pause]) |