Add "Choosing sticker" input activity

This commit is contained in:
Ilya Laktyushin
2021-08-18 00:47:36 +04:00
parent ce97e49ed7
commit 74c2145b21
6 changed files with 165 additions and 0 deletions

View File

@@ -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)
}
}