Skip to content

Commit

Permalink
Fix stuck marker tutorial (#56)
Browse files Browse the repository at this point in the history
Change main.async to main.asyncAfter, like is done in beaconInBounds
  • Loading branch information
steinbro committed Aug 26, 2023
1 parent 68d252f commit b33fdd0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
Expand Down

0 comments on commit b33fdd0

Please sign in to comment.