Skip to content
Snippets Groups Projects
Commit da8bcd7b authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

isMobileApp

parent 58e480af
No related branches found
No related tags found
1 merge request!928fix(ma-bulle): cozy logo for desktop
......@@ -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 { isMobileApp } 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: isMobileApp(),
})
let tracker: undefined | MatomoTracker
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment