Added checkbox to enable/disable background #7630

Merged
ByronEricPerez merged 4 commits from Add_a_setting_to_disable_the_background_image_#7616 into master 2022-06-28 22:01:19 +02:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 15fdbe2ae6 - Show all commits

View file

@ -2314,5 +2314,6 @@
"Apply": "Apply", "Apply": "Apply",
"24-hour clockss": "24-hour clockss", "24-hour clockss": "24-hour clockss",
"background": "background", "background": "background",
"Disable background": "Disable background",
"--end--": "--end--" "--end--": "--end--"
} }

View file

@ -234,7 +234,7 @@ const Wallpaper = (props: Props) => {
<div <div
className={'background-image'} className={'background-image'}
style={{ style={{
backgroundImage: background ? `url(${freeezepeach})` : `none`, backgroundImage: background ? `none` : `url(${freeezepeach})`,
}} }}
/> />
<div className={'theme'} /> <div className={'theme'} />