Ios swift – Changes to @Published var in ObservableObject not updating view
I have a view that looks like this: import SwiftUI import CoreImage import CoreImage.CIFilterBuiltins public struct ShareView: View { @ObservedObject var viewModel: ShareViewModel @Environment(.presentationMode) var presentationMode: Binding<PresentationMode> @State var showInfoPopup = false @State var sessionId: String? let buttonColor = Color(#colorLiteral(red:…