mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
UI improvements
This commit is contained in:
@@ -3371,9 +3371,9 @@ class ChatListItemNode: ItemListRevealOptionsItemNode {
|
||||
strongSelf.updateLayout(size: CGSize(width: layout.contentSize.width, height: itemHeight), leftInset: params.leftInset, rightInset: params.rightInset)
|
||||
|
||||
if item.editing {
|
||||
strongSelf.setRevealOptions((left: [], right: []))
|
||||
strongSelf.setRevealOptions((left: [], right: []), enableAnimations: item.context.sharedContext.energyUsageSettings.fullTranslucency)
|
||||
} else {
|
||||
strongSelf.setRevealOptions((left: peerLeftRevealOptions, right: peerRevealOptions))
|
||||
strongSelf.setRevealOptions((left: peerLeftRevealOptions, right: peerRevealOptions), enableAnimations: item.context.sharedContext.energyUsageSettings.fullTranslucency)
|
||||
}
|
||||
if !strongSelf.customAnimationInProgress {
|
||||
strongSelf.setRevealOptionsOpened(item.hasActiveRevealControls, animated: true)
|
||||
|
||||
Reference in New Issue
Block a user