Show full content-type #1333

Merged
btzr-io merged 3 commits from full-content-type into master 2018-04-25 18:37:33 +02:00
2 changed files with 3 additions and 3 deletions

View file

@ -18,6 +18,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
### Fixed
* Black screen on macOS after maximizing LBRY and then closing ([#1235](https://github.com/lbryio/lbry-app/pull/1235))
* Fix content-type not shown correctly in file description ([#863](https://github.com/lbryio/lbry-app/pull/863))
### Fixed
* Black screen on macOS after maximizing LBRY and then closing ([#1235](https://github.com/lbryio/lbry-app/pull/1235))

View file

@ -1,7 +1,6 @@
// @flow
import * as React from 'react';
import ReactMarkdown from 'react-markdown';
import { Lbry } from 'lbry-redux';
import Button from 'component/button';
import path from 'path';
@ -31,8 +30,8 @@ const FileDetails = (props: Props) => {
}
const { description, language, license } = metadata;
const mediaType = Lbry.getMediaType(contentType);
const mediaType = contentType || 'unknown';
const downloadPath = fileInfo ? path.normalize(fileInfo.download_path) : null;
return (