mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-03 18:40:00 +08:00
fix: sidebar noise background on Windows (#3107)
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