mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Add "Choosing sticker" input activity
This commit is contained in:
@@ -23,6 +23,7 @@ public enum ChatTitleActivityNodeState: Equatable {
|
||||
case recordingVoice(NSAttributedString, UIColor)
|
||||
case recordingVideo(NSAttributedString, UIColor)
|
||||
case playingGame(NSAttributedString, UIColor)
|
||||
case choosingSticker(NSAttributedString, UIColor)
|
||||
|
||||
func contentNode() -> ChatTitleActivityContentNode? {
|
||||
switch self {
|
||||
@@ -40,6 +41,8 @@ public enum ChatTitleActivityNodeState: Equatable {
|
||||
return ChatRecordingVideoActivityContentNode(text: text, color: color)
|
||||
case let .playingGame(text, color):
|
||||
return ChatPlayingActivityContentNode(text: text, color: color)
|
||||
case let .choosingSticker(text, color):
|
||||
return ChatChoosingStickerActivityContentNode(text: text, color: color)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user