mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
[WIP] Topics
This commit is contained in:
@@ -106,7 +106,7 @@ private final class TitleFieldComponent: Component {
|
||||
|
||||
let titleCredibilityContent: EmojiStatusComponent.Content
|
||||
if component.fileId == 0 {
|
||||
titleCredibilityContent = .topic(title: String(component.text.prefix(1)))
|
||||
titleCredibilityContent = .topic(title: String(component.text.prefix(1)), colorIndex: 0)
|
||||
} else {
|
||||
titleCredibilityContent = .animation(content: .customEmoji(fileId: component.fileId), size: CGSize(width: 32.0, height: 32.0), placeholderColor: component.placeholderColor, themeColor: component.accentColor, loopMode: .count(2))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user