Merge pull request from lbryio/fix-unintendedSignin

fix unintended signin on play
This commit is contained in:
jessopb 2020-05-21 17:28:29 -04:00 committed by GitHub
commit d335c3b95d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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')}