fix: sidebar noise background on Windows (#3107)

(cherry picked from commit bc85ad5b65)
This commit is contained in:
mon-jai
2023-07-09 00:41:07 +08:00
committed by Alex Yang
parent 4a982b3bcf
commit 72466d0768

View File

@@ -17,8 +17,7 @@ export const AppContainer: FC<WorkspaceRootProps> = ({
useBlurBackground, useBlurBackground,
children, children,
}) => { }) => {
const noisyBackground = const noisyBackground = useNoisyBackground && environment.isDesktop;
useNoisyBackground && environment.isDesktop && environment.isMacOs;
return ( return (
<div <div
className={clsx(appStyle, { className={clsx(appStyle, {