SupportDocs
SupportDocs copied to clipboard
This might need to be StateObject
https://github.com/aheze/SupportDocs/blob/7bbfe645de0cbb931aa71e0aca16bcc36cec75a8/Sources/SupportDocs/SupportDocsView.swift#L104
Why?
The original instance of an ObservableObject should be StateObject, I think. https://www.hackingwithswift.com/quick-start/swiftui/what-is-the-stateobject-property-wrapper
However @StateObject is iOS 14+... idk if there's a way to define different properties based on iOS version. I'll look into it.
This Stack Overflow answer should help