mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
tweak(phone/settings): simplify custom background
This commit is contained in:
1 parent
3157cafd5a
commit
c0cca9ceb8
5 files changed
+18
-37
No files matched your search
+4
-3
@@ -104,9 +104,10 @@ function Phone() {
|
||||
id="phone"
|
||||
className="PhoneScreen"
|
||||
style={{
|
||||
backgroundImage: settings.customWallpaper
|
||||
? `url(${settings.customWallpaper})`
|
||||
: `url(media/backgrounds/${settings.wallpaper.value})`,
|
||||
backgroundImage:
|
||||
settings.wallpaper.label === 'Custom Wallpaper'
|
||||
? `url(${settings.customWallpaper})`
|
||||
: `url(media/backgrounds/${settings.wallpaper.value})`,
|
||||
}}
|
||||
>
|
||||
{isPhoneReady ? (
|
||||
|
||||
Reference in new issue
Block a user