tweak(phone/settings): simplify some things

This commit is contained in:
Christopher committed 2021-03-31 05:05:55 +02:00
1 parent c0cca9ceb8
commit 4c73f66ab5
4 files changed
+11 -13

No files matched your search

+2 -2
View File
@@ -105,8 +105,8 @@ function Phone() {
className="PhoneScreen"
style={{
backgroundImage:
settings.wallpaper.label === 'Custom Wallpaper'
? `url(${settings.customWallpaper})`
settings.wallpaper.label === t('APPS_SETTINGS_OPTIONS_CUSTOM_WALLPAPER')
? `url(${settings.wallpaper.value})`
: `url(media/backgrounds/${settings.wallpaper.value})`,
}}
>