diff --git a/studio/src/app/components/editor/slide/app-slide-warning/app-slide-warning.tsx b/studio/src/app/components/editor/slide/app-slide-warning/app-slide-warning.tsx index 8f2146eba..7876724fc 100644 --- a/studio/src/app/components/editor/slide/app-slide-warning/app-slide-warning.tsx +++ b/studio/src/app/components/editor/slide/app-slide-warning/app-slide-warning.tsx @@ -6,6 +6,8 @@ import {debounce} from '@deckdeckgo/utils'; import i18n from '../../../../stores/i18n.store'; +import settingsStore from '../../../../stores/settings.store'; + import {ContrastUtils} from '../../../../utils/editor/contrast.utils'; import {NodeUtils} from '../../../../utils/editor/node.utils'; import {SlotUtils} from '../../../../utils/editor/slot.utils'; @@ -203,7 +205,7 @@ export class AppSlideWarning { const popover: HTMLIonPopoverElement = await popoverController.create({ component: 'app-slide-warning-info', componentProps: { - lowContrast: this.warningLowContrast, + lowContrast: settingsStore.state.contrastWarning && this.warningLowContrast, overflow: this.warningOverflow, }, event: $event, @@ -218,7 +220,7 @@ export class AppSlideWarning { return (