diff --git a/src/components/MainView.jsx b/src/components/MainView.jsx index b2eee943dd..59d7136142 100644 --- a/src/components/MainView.jsx +++ b/src/components/MainView.jsx @@ -1,10 +1,20 @@ import React from 'react' -export const MainView = ({ children }) => ( -
- {children} -
-) +import { getFlagshipMetadata } from 'cozy-device-helper' + +export const MainView = ({ children }) => { + const isImmersive = getFlagshipMetadata().immersive + + return ( +
+ {children} +
+ ) +}