Skip to content

Commit

Permalink
Merge pull request #569 from ualch9/fix_mainthread
Browse files Browse the repository at this point in the history
Onboarder manages bulletin manager from main thread
  • Loading branch information
ualch9 authored Nov 16, 2021
2 parents c31c213 + f66bd4a commit 1c89584
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion OBAKit/Onboarding/Onboarder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ class Onboarder: NSObject {

private func refreshUI() {
guard state != .complete else {
bulletinManager.dismissBulletin()
DispatchQueue.main.async {
self.bulletinManager.dismissBulletin()
}
return
}

Expand Down

0 comments on commit 1c89584

Please sign in to comment.