fix: sideload error modal styling

Co-authored-by: David Ralph <me@davidcralph.co.uk>
This commit is contained in:
alexsparkes
2022-10-29 22:28:17 +01:00
parent a77097a7fa
commit d762a7c504
4 changed files with 22 additions and 43 deletions

View File

@@ -257,10 +257,8 @@ export default class Background extends PureComponent {
(localStorage.getItem('backgroundchange') === null && this.state.firstTime === true)
) {
localStorage.setItem('marketplaceNumber', randomNumber);
console.log("APPLE BOTTOM JEANS")
console.log(this.state.firstTime)
this.setState({ firstTime: false })
this.setState({
firstTime: false,
url: randomPhoto.url.default,
type: 'photo_pack',
photoInfo: {
@@ -446,7 +444,7 @@ export default class Background extends PureComponent {
this.interval = setInterval(() => {
const targetTime = Number(Number(localStorage.getItem('backgroundStartTime')) + Number(test));
const currentTime = Number(Date.now());
const type = localStorage.getItem('backgroundType');
const type = localStorage.getItem('backgroundType');
if (test !== null && test !== 'refresh') {
if (currentTime >= targetTime) {