From b33fdd0f62c3f21bcf2b291437d398d31998e02c Mon Sep 17 00:00:00 2001 From: "Daniel W. Steinbrook" Date: Fri, 25 Aug 2023 21:41:58 -0400 Subject: [PATCH] Fix stuck marker tutorial (#56) Change main.async to main.asyncAfter, like is done in beaconInBounds --- .../Tutorials/Markers/MarkerTutorialViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ios/GuideDogs/Code/Visual UI/View Controllers/Tutorials/Markers/MarkerTutorialViewController.swift b/apps/ios/GuideDogs/Code/Visual UI/View Controllers/Tutorials/Markers/MarkerTutorialViewController.swift index c2610fca..03ecb972 100644 --- a/apps/ios/GuideDogs/Code/Visual UI/View Controllers/Tutorials/Markers/MarkerTutorialViewController.swift +++ b/apps/ios/GuideDogs/Code/Visual UI/View Controllers/Tutorials/Markers/MarkerTutorialViewController.swift @@ -379,7 +379,7 @@ class MarkerTutorialViewController: BaseTutorialViewController { let entityKeyToInclude = selectedPOI?.key != nil ? [selectedPOI!.key] : [] let event = ExplorationModeToggled(.nearbyMarkers, requiredMarkerKeys: entityKeyToInclude, logContext: "marker_tutorial") { [weak self] _ in - DispatchQueue.main.async { + DispatchQueue.main.asyncAfter(deadline: .now() + 1.0) { self?.showNextPage() } }