MastodonAgain
MastodonAgain copied to clipboard
New post race condition
If the app relaunches with the New Post screen visible (which can happen if you quit app with it on screen) the weird way windows work in SwiftUI causes a race condition with loading SignIn data.
SignIn data is loaded asynchronously (because Storage.get is async) but the New Post screen expects a current sign-in to be defined.
Workaround is disable state restoration in Xcode.