fix action buttons displaying in full screen video mode #63

Merged
akinwale merged 1 commit from delete-button-fullscreen-fix into master 2018-04-12 19:11:15 +02:00
Showing only changes of commit 2d72afe1f0 - Show all commits

View file

@ -124,7 +124,7 @@ class FilePage extends React.PureComponent {
const mediaType = Lbry.getMediaType(contentType);
const isPlayable = mediaType === 'video' || mediaType === 'audio';
const { height, channel_name: channelName, value } = claim;
const showActions = (completed || (fileInfo && !fileInfo.stopped && fileInfo.written_bytes < fileInfo.total_bytes));
const showActions = !this.state.fullscreenMode && (completed || (fileInfo && !fileInfo.stopped && fileInfo.written_bytes < fileInfo.total_bytes));
const channelClaimId =
value && value.publisherSignature && value.publisherSignature.certificateId;