No different open style highlight

This commit is contained in:
Lukas Martinelli 2016-12-20 20:50:19 +01:00
parent 97b665485e
commit db095eea49

View file

@ -72,15 +72,12 @@ export default class Toolbar extends React.Component {
} }
downloadButton() { downloadButton() {
if(this.props.styleAvailable) { return <InlineBlock>
return <InlineBlock> <Button onClick={this.props.onStyleDownload} big={true}>
<Button onClick={this.props.onStyleDownload} big={true}> <MdFileDownload />
<MdFileDownload /> Download
Download </Button>
</Button> </InlineBlock>
</InlineBlock>
}
return null
} }
toggleSettings() { toggleSettings() {
@ -125,7 +122,7 @@ export default class Toolbar extends React.Component {
</InlineBlock> </InlineBlock>
<InlineBlock> <InlineBlock>
<FileReaderInput onChange={this.onUpload.bind(this)}> <FileReaderInput onChange={this.onUpload.bind(this)}>
<Button big={true} theme={this.props.styleAvailable ? "default" : "success"}> <Button big={true}>
<MdOpenInBrowser /> <MdOpenInBrowser />
Open Open
</Button> </Button>