Skip to content

Commit 023cda9

Browse files
committed
fix preview showing on desktop
1 parent f59b6ba commit 023cda9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/browser/modules/Stream/PlayFrame.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,15 @@ type PlayFrameProps = {
8989
showPromotion: boolean
9090
isFullscreen: boolean
9191
isCollapsed: boolean
92+
inDesktop: boolean
9293
}
9394
export function PlayFrame({
9495
stack,
9596
bus,
9697
showPromotion,
9798
isFullscreen,
98-
isCollapsed
99+
isCollapsed,
100+
inDesktop
99101
}: PlayFrameProps): JSX.Element {
100102
const [stackIndex, setStackIndex] = useState(0)
101103
const [atSlideStart, setAtSlideStart] = useState<boolean | null>(null)
@@ -124,7 +126,8 @@ export function PlayFrame({
124126
bus,
125127
onSlide,
126128
initialPlay,
127-
showPromotion
129+
showPromotion,
130+
inDesktop
128131
)
129132
if (stillMounted) {
130133
setInitialPlay(false)

0 commit comments

Comments
 (0)