Settings! (Almost finished)

Co-authored-by: Alex Sparkes <turbomarshmello@gmail.com>
Co-authored-by: Wessel Tip <discord@go2it.eu>
This commit is contained in:
David Ralph
2020-07-15 21:06:21 +01:00
parent da5a4da97b
commit 0c6022aa2d
13 changed files with 341 additions and 29 deletions

View File

@@ -53,6 +53,8 @@ export default class Background extends React.Component {
}
componentDidMount() {
const enabled = localStorage.getItem('background');
if (enabled === 'false') return;
this.setBackground();
}