From faaae9b2123ba6b5315d5d4e678b6d17639d0bd2 Mon Sep 17 00:00:00 2001 From: Harsh <6162866+harsh62@users.noreply.github.com> Date: Mon, 21 Oct 2024 10:26:18 -0400 Subject: [PATCH] Update Amplify/Core/Configuration/Internal/Amplify+Reset.swift Co-authored-by: Sebastian Villena <97059974+ruisebas@users.noreply.github.com> --- Amplify/Core/Configuration/Internal/Amplify+Reset.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Amplify/Core/Configuration/Internal/Amplify+Reset.swift b/Amplify/Core/Configuration/Internal/Amplify+Reset.swift index 5f61657b33..1748482c6e 100644 --- a/Amplify/Core/Configuration/Internal/Amplify+Reset.swift +++ b/Amplify/Core/Configuration/Internal/Amplify+Reset.swift @@ -52,7 +52,7 @@ extension Amplify { ModelProviderRegistry.reset() log.verbose("Resetting ModelRegistry, ModelListDecoderRegistry, ModelProviderRegistry finished") -#if os(iOS) && !os(xrOS) +#if os(iOS) && !os(visionOS) await MainActor.run { devMenu = nil }