mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Emoji improvements
This commit is contained in:
@@ -1524,6 +1524,7 @@ public final class EmojiPagerContentComponent: Component {
|
||||
|
||||
public let id: AnyHashable
|
||||
public let context: AccountContext
|
||||
public let avatarPeer: EnginePeer?
|
||||
public let animationCache: AnimationCache
|
||||
public let animationRenderer: MultiAnimationRenderer
|
||||
public let inputInteractionHolder: InputInteractionHolder
|
||||
@@ -1533,6 +1534,7 @@ public final class EmojiPagerContentComponent: Component {
|
||||
public init(
|
||||
id: AnyHashable,
|
||||
context: AccountContext,
|
||||
avatarPeer: EnginePeer?,
|
||||
animationCache: AnimationCache,
|
||||
animationRenderer: MultiAnimationRenderer,
|
||||
inputInteractionHolder: InputInteractionHolder,
|
||||
@@ -1541,6 +1543,7 @@ public final class EmojiPagerContentComponent: Component {
|
||||
) {
|
||||
self.id = id
|
||||
self.context = context
|
||||
self.avatarPeer = avatarPeer
|
||||
self.animationCache = animationCache
|
||||
self.animationRenderer = animationRenderer
|
||||
self.inputInteractionHolder = inputInteractionHolder
|
||||
@@ -1558,6 +1561,9 @@ public final class EmojiPagerContentComponent: Component {
|
||||
if lhs.context !== rhs.context {
|
||||
return false
|
||||
}
|
||||
if lhs.avatarPeer != rhs.avatarPeer {
|
||||
return false
|
||||
}
|
||||
if lhs.animationCache !== rhs.animationCache {
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user