diff --git a/src/components/modals/main/settings/sections/background/Background.jsx b/src/components/modals/main/settings/sections/background/Background.jsx
index ce015351..a51467a1 100644
--- a/src/components/modals/main/settings/sections/background/Background.jsx
+++ b/src/components/modals/main/settings/sections/background/Background.jsx
@@ -21,7 +21,7 @@ export default class BackgroundSettings extends PureComponent {
constructor() {
super();
this.state = {
- customBackground: [''],
+ customBackground: this.getCustom(),
backgroundType: localStorage.getItem('backgroundType') || 'api',
backgroundCategories: [this.getMessage(this.languagecode, 'modals.main.loading')]
};
@@ -121,10 +121,6 @@ export default class BackgroundSettings extends PureComponent {
}
componentDidMount() {
- this.setState({
- customBackground: this.getCustom()
- });
-
if (navigator.onLine === false || localStorage.getItem('offlineMode') === 'true') {
return this.setState({
backgroundCategories: [this.getMessage(this.languagecode, 'modals.update.offline.title')]
@@ -227,7 +223,7 @@ export default class BackgroundSettings extends PureComponent {
-
+
{getMessage(languagecode, 'modals.main.settings.sections.background.source.title')}
this.setState({ backgroundType: value })} category='background'>
diff --git a/src/translations/de_DE.json b/src/translations/de_DE.json
index e06b717f..f6f1ba1c 100644
--- a/src/translations/de_DE.json
+++ b/src/translations/de_DE.json
@@ -132,6 +132,7 @@
"ddg_image_proxy": "DuckDuckGo Bilder Proxy verwenden",
"transition": "Weicher übergang",
"photo_information": "Foto-Informationen anzeigen",
+ "show_map": "Show location map on photo information if available",
"category": "Kategorie",
"buttons": {
"title": "Schaltflächen",
diff --git a/src/translations/en_GB.json b/src/translations/en_GB.json
index 20dff25b..c093d283 100644
--- a/src/translations/en_GB.json
+++ b/src/translations/en_GB.json
@@ -132,6 +132,7 @@
"ddg_image_proxy": "Use DuckDuckGo image proxy",
"transition": "Fade-in transition",
"photo_information": "Show photo information",
+ "show_map": "Show location map on photo information if available",
"category": "Category",
"buttons": {
"title": "Buttons",
diff --git a/src/translations/en_US.json b/src/translations/en_US.json
index adb2bfa5..faced2f7 100644
--- a/src/translations/en_US.json
+++ b/src/translations/en_US.json
@@ -132,6 +132,7 @@
"ddg_image_proxy": "Use DuckDuckGo image proxy",
"transition": "Fade-in transition",
"photo_information": "Show photo information",
+ "show_map": "Show location map on photo information if available",
"category": "Category",
"buttons": {
"title": "Buttons",
diff --git a/src/translations/es.json b/src/translations/es.json
index 616e0531..6e77b5b7 100644
--- a/src/translations/es.json
+++ b/src/translations/es.json
@@ -132,6 +132,7 @@
"ddg_image_proxy": "Utilizar el proxy de imágenes de DuckDuckGo",
"transition": "Transición fade-in",
"photo_information": "Ver información de la foto",
+ "show_map": "Show location map on photo information if available",
"category": "Categoría",
"buttons": {
"title": "Botones",
diff --git a/src/translations/fr.json b/src/translations/fr.json
index 9fa354cd..ec2bfd78 100644
--- a/src/translations/fr.json
+++ b/src/translations/fr.json
@@ -132,6 +132,7 @@
"ddg_image_proxy": "Utiliser le proxy d'image DuckDuckGo",
"transition": "Transition en fondu",
"photo_information": "Show photo information",
+ "show_map": "Show location map on photo information if available",
"category": "Catégorie",
"buttons": {
"title": "Boutons",
diff --git a/src/translations/nl.json b/src/translations/nl.json
index 45911d3c..e32bfa52 100644
--- a/src/translations/nl.json
+++ b/src/translations/nl.json
@@ -132,6 +132,7 @@
"ddg_image_proxy": "Use DuckDuckGo image proxy",
"transition": "Fade-in transition",
"photo_information": "Show photo information",
+ "show_map": "Show location map on photo information if available",
"category": "Category",
"buttons": {
"title": "Buttons",
diff --git a/src/translations/no.json b/src/translations/no.json
index a1afba02..df71c813 100644
--- a/src/translations/no.json
+++ b/src/translations/no.json
@@ -132,6 +132,7 @@
"ddg_image_proxy": "Use DuckDuckGo image proxy",
"transition": "Fade-in transition",
"photo_information": "Show photo information",
+ "show_map": "Show location map on photo information if available",
"category": "Category",
"buttons": {
"title": "Buttons",
diff --git a/src/translations/ru.json b/src/translations/ru.json
index d9735329..f817c452 100644
--- a/src/translations/ru.json
+++ b/src/translations/ru.json
@@ -132,6 +132,7 @@
"ddg_image_proxy": "Use DuckDuckGo image proxy",
"transition": "Fade-in transition",
"photo_information": "Show photo information",
+ "show_map": "Show location map on photo information if available",
"category": "Category",
"buttons": {
"title": "Buttons",
diff --git a/src/translations/zh_CN.json b/src/translations/zh_CN.json
index 70ae7f97..7b66a87e 100644
--- a/src/translations/zh_CN.json
+++ b/src/translations/zh_CN.json
@@ -132,6 +132,7 @@
"ddg_image_proxy": "使用 DuckDuckGo 图像代理",
"transition": "渐变",
"photo_information": "Show photo information",
+ "show_map": "Show location map on photo information if available",
"category": "分类",
"buttons": {
"title": "按钮",