From 989ad3fffaaceb925f6016ff1d3a6f52ecad875a Mon Sep 17 00:00:00 2001 From: Matt <85322+mattmassicotte@users.noreply.github.com> Date: Thu, 28 Mar 2024 16:32:26 -0400 Subject: [PATCH] Use backport version --- Sources/Neon/TextViewHighlighter.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Neon/TextViewHighlighter.swift b/Sources/Neon/TextViewHighlighter.swift index d9c3880..23e4fd6 100644 --- a/Sources/Neon/TextViewHighlighter.swift +++ b/Sources/Neon/TextViewHighlighter.swift @@ -136,7 +136,7 @@ public final class TextViewHighlighter: NSObject { ) #elseif os(iOS) || os(visionOS) self.frameObservation = textView.observe(\.contentOffset) { [styler] view, _ in - MainActor.assumeIsolated { + MainActor.backport.assumeIsolated { styler.visibleContentDidChange() } }