import SwiftUI @main struct AnotherIMApp: App { @StateObject var wrapper = MonalXmppWrapper() var body: some Scene { WindowGroup { RootView() .environmentObject(wrapper) } } }