fix unintended signin on play #4227

Merged
jessopb merged 1 commit from fix-unintendedSignin into fixEmbedsAfterPaidContent 2020-05-21 23:28:30 +02:00

View file

@ -142,7 +142,7 @@ export default function FileRenderInitiator(props: Props) {
)} )}
{!disabled && ( {!disabled && (
<Button <Button
requiresAuth={IS_WEB} requiresAuth={shouldRedirect}
onClick={viewFile} onClick={viewFile}
iconSize={30} iconSize={30}
title={isPlayable ? __('Play') : __('View')} title={isPlayable ? __('Play') : __('View')}