Skip to content

Commit

Permalink
fix: 隐藏移动端原生控件后,需添加自定义 loading
Browse files Browse the repository at this point in the history
  • Loading branch information
kssaerbeisi123 authored and ambar committed Oct 15, 2021
1 parent b6831d8 commit 2b70b23
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/griffith/src/components/Player.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,11 @@ class InnerPlayer extends Component<InnerPlayerProps, State> {
useAutoQuality={useAutoQuality}
/>
</div>
{hideMobileControls && isPlaybackStarted && isLoading && (
<div className={css(styles.loader)}>
<Loader />
</div>
)}
{!hideCover && (
<div
className={css(
Expand Down

0 comments on commit 2b70b23

Please sign in to comment.