mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Low power improvements
This commit is contained in:
@@ -453,7 +453,7 @@ public final class EmojiTextAttachmentView: UIView {
|
||||
super.init(frame: CGRect())
|
||||
|
||||
self.layer.addSublayer(self.contentLayer)
|
||||
self.contentLayer.isVisibleForAnimations = true
|
||||
self.contentLayer.isVisibleForAnimations = context.sharedContext.energyUsageSettings.loopEmoji
|
||||
}
|
||||
|
||||
required public init?(coder: NSCoder) {
|
||||
|
||||
Reference in New Issue
Block a user