fix(env): is mobile flag (#8005)
only 'mobile' entry has isMobile = true flag
This commit is contained in:
@@ -42,7 +42,7 @@ const desktopWhiteList = [
|
||||
'/magic-link',
|
||||
];
|
||||
if (
|
||||
!environment.isDesktop &&
|
||||
!environment.isElectron &&
|
||||
environment.isDebug &&
|
||||
desktopWhiteList.every(path => !location.pathname.startsWith(path))
|
||||
) {
|
||||
|
||||
@@ -6,7 +6,7 @@ import * as styles from './shell.css';
|
||||
export function ShellRoot() {
|
||||
const { appSettings } = useAppSettingHelper();
|
||||
const translucent =
|
||||
environment.isDesktop &&
|
||||
environment.isElectron &&
|
||||
environment.isMacOs &&
|
||||
appSettings.enableBlurBackground;
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user