mirror of
https://github.com/mue/mue.git
synced 2026-07-26 10:11:15 +02:00
soon
This commit is contained in:
@@ -27,16 +27,23 @@ export default class View extends React.PureComponent {
|
||||
});
|
||||
|
||||
if (this.state.hidden === false) {
|
||||
this.setState({ hidden: true });
|
||||
this.setState({
|
||||
hidden: true
|
||||
});
|
||||
this.setAttribute(0, 100);
|
||||
} else {
|
||||
this.setState({ hidden: false });
|
||||
this.setState({
|
||||
hidden: false
|
||||
});
|
||||
this.setAttribute(localStorage.getItem('blur'), localStorage.getItem('brightness'));
|
||||
}
|
||||
}
|
||||
|
||||
render() {
|
||||
if (localStorage.getItem('background') === 'false') return null;
|
||||
if (localStorage.getItem('background') === 'false') {
|
||||
return null;
|
||||
}
|
||||
|
||||
return <div className='view'>
|
||||
<FullscreenIcon onClick={() => this.viewStuff()} />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user