Last active
April 14, 2022 17:00
-
-
Save amosgyamfi/78ecf1ae04ab0d02e50527947da9850f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
// Add the following two imports | |
import StreamChat | |
import StreamChatSwiftUI | |
@main | |
struct SwiftUIChatDemoApp: App { | |
// This is the property with a wrapper we need to add. | |
@UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate | |
var body: some Scene { | |
WindowGroup { | |
//ChatChannelListView() | |
ChatChannelListScreen(title: "Contacts List") | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment