fix: some bug fixes

This commit is contained in:
David Ralph
2021-04-21 19:35:33 +01:00
parent 9b43063935
commit 51d0715f0f
22 changed files with 49 additions and 38 deletions

View File

@@ -32,7 +32,8 @@ export default class Favourite extends React.PureComponent {
}
render() {
if (localStorage.getItem('backgroundType') === 'colour') {
const backgroundType = localStorage.getItem('backgroundType');
if (backgroundType === 'colour' || backgroundType === 'custom') {
return null;
}