From 18631699c986dadcfe484f259c221be137b68e63 Mon Sep 17 00:00:00 2001 From: JF-Cozy Date: Tue, 22 Oct 2024 14:32:51 +0200 Subject: [PATCH] fix: Replace default wallpaper --- src/assets/images/default-wallpaper.svg | 1 + src/assets/images/wallpaper.svg | 1 - src/components/BackgroundContainer.tsx | 11 ++--------- 3 files changed, 3 insertions(+), 10 deletions(-) create mode 100644 src/assets/images/default-wallpaper.svg delete mode 100644 src/assets/images/wallpaper.svg diff --git a/src/assets/images/default-wallpaper.svg b/src/assets/images/default-wallpaper.svg new file mode 100644 index 0000000000..bcfce838e6 --- /dev/null +++ b/src/assets/images/default-wallpaper.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/images/wallpaper.svg b/src/assets/images/wallpaper.svg deleted file mode 100644 index a8d760507b..0000000000 --- a/src/assets/images/wallpaper.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/components/BackgroundContainer.tsx b/src/components/BackgroundContainer.tsx index ece41dbfff..ab8f023cdd 100644 --- a/src/components/BackgroundContainer.tsx +++ b/src/components/BackgroundContainer.tsx @@ -4,7 +4,7 @@ import cx from 'classnames' import { useWallpaperContext } from 'hooks/useWallpaperContext' import { useCozyTheme } from 'cozy-ui/transpiled/react/providers/CozyTheme' -import DefaultWallpaper from 'assets/images/wallpaper.svg' +import DefaultWallpaper from 'assets/images/default-wallpaper.svg' export const BackgroundContainer = (): JSX.Element => { const { @@ -32,14 +32,7 @@ export const BackgroundContainer = (): JSX.Element => {
{!isCustomWallpaper && ( -
+ )}
)