This commit is contained in:
Timo K
2026-05-18 20:06:54 +02:00
parent bc81da43c2
commit e19d5865b0
3 changed files with 16 additions and 31 deletions

View File

@@ -110,10 +110,11 @@ function buildDeviceBehaviors(
toggleBlur$: scope.behavior(
combineLatest([backgroundBlurSettings.value$, disableSwitcher$]).pipe(
map(([current, switcherDisabled]) => {
return () =>
!switcherDisabled && supportsBackgroundProcessors()
? (): void => backgroundBlurSettings.setValue(!current)
: constant(undefined);
return !switcherDisabled && supportsBackgroundProcessors()
? (): void => {
backgroundBlurSettings.setValue(!current);
}
: undefined;
}),
),
),