SwiftUI: State variable from observed singleton property leads to error

visit shbcf.ru