Low power improvements

This commit is contained in:
Ali
2023-02-28 22:20:44 +04:00
parent fb025d5b14
commit a11de52d56
25 changed files with 155 additions and 234 deletions

View File

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