mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-18 14:56:59 +08:00
fix: sidebar noise background on Windows (#3107)
(cherry picked from commit bc85ad5b65)
This commit is contained in:
@@ -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, {
|
||||||
|
|||||||
Reference in New Issue
Block a user