From 76b1a630199fe8ec31fa4c657ba15c6148476c04 Mon Sep 17 00:00:00 2001 From: Bastien DUMONT <bdumont@grandlyon.com> Date: Wed, 21 Jun 2023 15:47:14 +0000 Subject: [PATCH] fix(ma-bulle): cozy logo for desktop --- src/targets/browser/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/targets/browser/index.tsx b/src/targets/browser/index.tsx index 7322f9628..d8800d9b4 100644 --- a/src/targets/browser/index.tsx +++ b/src/targets/browser/index.tsx @@ -8,6 +8,7 @@ declare let Piwik: any import * as Sentry from '@sentry/react' import { BrowserTracing } from '@sentry/tracing' import CozyClient, { Client, CozyProvider } from 'cozy-client' +import { isFlagshipApp } from 'cozy-device-helper' import { handleOAuthResponse } from 'cozy-harvest-lib/dist/helpers/oauth' import { WebviewIntentProvider } from 'cozy-intent' import { I18n, initTranslation } from 'cozy-ui/transpiled/react/I18n' @@ -64,7 +65,7 @@ const setupApp = memoize(() => { replaceTitleOnMobile: false, appSlug: data.app.slug, appNamePrefix: data.app.prefix, - isInvertedTheme: true, + isInvertedTheme: isFlagshipApp(), }) let tracker: undefined | MatomoTracker -- GitLab