fix: background credit (again)

This commit is contained in:
David Ralph
2021-03-18 13:53:00 +00:00
parent f54fd5adb7
commit b76cbc3bc6
3 changed files with 15 additions and 2 deletions

View File

@@ -181,7 +181,8 @@ export default class Background extends React.PureComponent {
return document.querySelector('.photoInformation').style.display = 'none';
}
if (localStorage.getItem('customBackgroundColour') !== 'Disabled') {
const backgroundColour = localStorage.getItem('customBackgroundColour');
if (backgroundColour !== 'Disabled' && backgroundColour !== '') {
document.querySelector('.photoInformation').style.display = 'none';
}