Skip to content

Instantly share code, notes, and snippets.

@amosgyamfi
Created May 19, 2022 16:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amosgyamfi/0faa3f8f884bd53655a6a76355b34ec3 to your computer and use it in GitHub Desktop.
Save amosgyamfi/0faa3f8f884bd53655a6a76355b34ec3 to your computer and use it in GitHub Desktop.
import SwiftUI
import StreamChat
import StreamChatSwiftUI
@main
struct SwiftUIChatDemoApp: App {
@UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate
let nordeaDarkRed = Color(#colorLiteral(red: 0.9058823529, green: 0.01568627451, blue: 0.01568627451, alpha: 1))
var body: some Scene {
WindowGroup {
// Customizing the Channel List Header title
ChatChannelListScreen(title: "Nordea Chat")
// Overriding the color of titles: Channel list header and chat area, image labels in messages
.foregroundColor(nordeaDarkRed)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment