Created
May 19, 2022 16:57
-
-
Save amosgyamfi/0faa3f8f884bd53655a6a76355b34ec3 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 | |
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