Skip to content

Commit

Permalink
[svelte] WEB-69924 fix persistence in for A11y warning setting
Browse files Browse the repository at this point in the history
GitOrigin-RevId: ca5155d2a5db19081e5ef0230e4edc6cc9b2e66e
  • Loading branch information
tomblachut authored and intellij-monorepo-bot committed Oct 25, 2024
1 parent b12a402 commit d9d8466
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package dev.blachut.svelte.lang.service.settings

import com.intellij.lang.typescript.lsp.NestedReadWriteProperty
import com.intellij.lang.typescript.lsp.createPackageRef
import com.intellij.lang.typescript.lsp.defaultPackageKey
import com.intellij.lang.typescript.lsp.extractRefText
Expand Down Expand Up @@ -41,7 +42,7 @@ class SvelteServiceSettings(val project: Project) : SimplePersistentStateCompone
if (changed) restartTypeScriptServicesAsync(project)
}

var showA11yWarnings by state::showA11yWarnings
var showA11yWarnings by NestedReadWriteProperty({ state }, SvelteServiceState::showA11yWarnings)
}

class SvelteServiceState : BaseState() {
Expand Down

0 comments on commit d9d8466

Please sign in to comment.