From 1fa260bb26cdc0eccd9880dbfe573a1f0c419342 Mon Sep 17 00:00:00 2001 From: raman Date: Fri, 21 Feb 2025 14:44:12 +0530 Subject: [PATCH] FIX: web icon --- addons/web/controllers/webmanifest.py | 8 ++++---- addons/web/static/img/{ftp.jpg => ftp.png} | Bin 2 files changed, 4 insertions(+), 4 deletions(-) rename addons/web/static/img/{ftp.jpg => ftp.png} (100%) diff --git a/addons/web/controllers/webmanifest.py b/addons/web/controllers/webmanifest.py index 28dcd7049..785c6e545 100644 --- a/addons/web/controllers/webmanifest.py +++ b/addons/web/controllers/webmanifest.py @@ -47,15 +47,15 @@ class WebManifest(http.Controller): 'scope': '/odoo', 'start_url': '/odoo', 'display': 'standalone', - 'background_color': '#714B67', - 'theme_color': '#714B67', + 'background_color': '#017e84', + 'theme_color': '#017e84', 'prefer_related_applications': False, } icon_sizes = ['192x192', '512x512'] manifest['icons'] = [{ - 'src': '/web/static/img/ftp.jpg', + 'src': '/web/static/img/ftp.png', 'sizes': size, - 'type': 'image/jpg', + 'type': 'image/png', } for size in icon_sizes] manifest['shortcuts'] = self._get_shortcuts() return manifest diff --git a/addons/web/static/img/ftp.jpg b/addons/web/static/img/ftp.png similarity index 100% rename from addons/web/static/img/ftp.jpg rename to addons/web/static/img/ftp.png