diff --git a/src/components/modals/main/marketplace/sections/Marketplace.jsx b/src/components/modals/main/marketplace/sections/Marketplace.jsx index 7873c4ad..635d6520 100644 --- a/src/components/modals/main/marketplace/sections/Marketplace.jsx +++ b/src/components/modals/main/marketplace/sections/Marketplace.jsx @@ -202,6 +202,7 @@ export default class Marketplace extends React.PureComponent { +
this.toggle('item', input)} /> this.toggle()} display={this.state.display.item} /> diff --git a/src/components/widgets/background/Background.jsx b/src/components/widgets/background/Background.jsx index ce107b13..6aa50310 100644 --- a/src/components/widgets/background/Background.jsx +++ b/src/components/widgets/background/Background.jsx @@ -233,6 +233,7 @@ export default class Background extends React.PureComponent { const photoLocation = randomPhoto.location.replace(/[null]+/g, ''); return this.setState({ url: randomPhoto.url.default, + type: 'photo_pack', photoInfo: { hidden: false, credit: randomPhoto.photographer, @@ -295,7 +296,7 @@ export default class Background extends React.PureComponent { if (this.state.photoInfo.offline !== true) { // basically check to make sure something has changed before we try getting another background - if (backgroundType !== this.state.type || localStorage.getItem('backgroundAPI') !== this.state.currentAPI || (this.state.type === 'custom' && localStorage.getItem('customBackground') !== this.state.url)) { + if (backgroundType !== this.state.type || (this.state.type === 'api' && localStorage.getItem('backgroundAPI') !== this.state.currentAPI) || (this.state.type === 'custom' && localStorage.getItem('customBackground') !== this.state.url)) { return refresh(); } } diff --git a/src/translations/de_DE.json b/src/translations/de_DE.json index 9968cac1..07347dea 100644 --- a/src/translations/de_DE.json +++ b/src/translations/de_DE.json @@ -149,7 +149,7 @@ "sepia": "Sepia", "invert": "Invert", "saturate": "Saturate", - "constrast": "Contrast" + "contrast": "Contrast" } }, "type": { diff --git a/src/translations/en_GB.json b/src/translations/en_GB.json index 280b8285..c4f9da99 100644 --- a/src/translations/en_GB.json +++ b/src/translations/en_GB.json @@ -149,7 +149,7 @@ "sepia": "Sepia", "invert": "Invert", "saturate": "Saturate", - "constrast": "Contrast" + "contrast": "Contrast" } }, "type": { diff --git a/src/translations/en_US.json b/src/translations/en_US.json index 76d35012..e5193327 100644 --- a/src/translations/en_US.json +++ b/src/translations/en_US.json @@ -149,7 +149,7 @@ "sepia": "Sepia", "invert": "Invert", "saturate": "Saturate", - "constrast": "Contrast" + "contrast": "Contrast" } }, "type": { diff --git a/src/translations/es.json b/src/translations/es.json index 4c823230..5b43da74 100644 --- a/src/translations/es.json +++ b/src/translations/es.json @@ -149,7 +149,7 @@ "sepia": "Sepia", "invert": "Invert", "saturate": "Saturate", - "constrast": "Contrast" + "contrast": "Contrast" } }, "type": { diff --git a/src/translations/fr.json b/src/translations/fr.json index 793de236..09a9449a 100644 --- a/src/translations/fr.json +++ b/src/translations/fr.json @@ -149,7 +149,7 @@ "sepia": "Sepia", "invert": "Invert", "saturate": "Saturate", - "constrast": "Contrast" + "contrast": "Contrast" } }, "type": { diff --git a/src/translations/nl.json b/src/translations/nl.json index 6cfda59c..4c113923 100644 --- a/src/translations/nl.json +++ b/src/translations/nl.json @@ -149,7 +149,7 @@ "sepia": "Sepia", "invert": "Invert", "saturate": "Saturate", - "constrast": "Contrast" + "contrast": "Contrast" } }, "type": { diff --git a/src/translations/no.json b/src/translations/no.json index 72ea549b..2df17173 100644 --- a/src/translations/no.json +++ b/src/translations/no.json @@ -149,7 +149,7 @@ "sepia": "Sepia", "invert": "Invert", "saturate": "Saturate", - "constrast": "Contrast" + "contrast": "Contrast" } }, "type": { diff --git a/src/translations/ru.json b/src/translations/ru.json index 307394ae..3cb19314 100644 --- a/src/translations/ru.json +++ b/src/translations/ru.json @@ -149,7 +149,7 @@ "sepia": "Sepia", "invert": "Invert", "saturate": "Saturate", - "constrast": "Contrast" + "contrast": "Contrast" } }, "type": { diff --git a/src/translations/zh_CN.json b/src/translations/zh_CN.json index 7a431b43..b63cada2 100644 --- a/src/translations/zh_CN.json +++ b/src/translations/zh_CN.json @@ -149,7 +149,7 @@ "sepia": "Sepia", "invert": "Invert", "saturate": "Saturate", - "constrast": "Contrast" + "contrast": "Contrast" } }, "type": {