OneBusAway / onebusaway-ios

OneBusAway for iOS, written in Swift.
Other
76 stars 32 forks source link

needsToOnboard checks shouldPerformMigration instead of hasDataToMigrate #656

Closed ualch9 closed 1 year ago

ualch9 commented 1 year ago

User reports that the onboarding screen is appearing every time during launch.

I think this is caused by needsToOnboard checking the wrong state, instead of checking only the existence of classic-OBA data, we should be checking the existence AND the UserDefault value of whether the user has already upgraded their data.