disable snapshot thumbnail on desktop to prevent desktop crashes

https://github.com/electron/electron/issues/20750\#issuecomment-709505902
This commit is contained in:
Sean Yesmunt 2020-10-15 14:21:17 -04:00
parent e947307f86
commit c5a2126abe

View file

@ -156,7 +156,9 @@ class SelectThumbnail extends React.PureComponent<Props, State> {
label={__('Enter a thumbnail URL')}
onClick={() => updatePublishForm({ uploadThumbnailStatus: THUMBNAIL_STATUSES.MANUAL })}
/>
{isSupportedVideo && (
{isSupportedVideo && IS_WEB && (
// Disabled on desktop until this is resolved
// https://github.com/electron/electron/issues/20750#issuecomment-709505902
<Button
button="link"
label={__('Take a snapshot from your video')}