mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-07 08:01:10 +00:00
typo fix
This commit is contained in:
parent
0541f464a8
commit
13e192eaa9
@ -534,7 +534,7 @@ class ChatListItemNode: ItemListRevealOptionsItemNode {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if self.highlightedBackgroundNode.supernode != nil {
|
if self.highlightedBackgroundNode.supernode != nil {
|
||||||
transition.updateAlpha(layer: self.highlightedBackgroundNode.layer, alpha: highlightProgress, completion: { [weak self] completed in
|
transition.updateAlpha(layer: self.highlightedBackgroundNode.layer, alpha: 1.0 - highlightProgress, completion: { [weak self] completed in
|
||||||
if let strongSelf = self {
|
if let strongSelf = self {
|
||||||
if completed {
|
if completed {
|
||||||
strongSelf.highlightedBackgroundNode.removeFromSupernode()
|
strongSelf.highlightedBackgroundNode.removeFromSupernode()
|
||||||
|
@ -424,7 +424,7 @@ class ContactsPeerItemNode: ItemListRevealOptionsItemNode {
|
|||||||
transition.updateAlpha(layer: self.highlightedBackgroundNode.layer, alpha: highlightProgress)
|
transition.updateAlpha(layer: self.highlightedBackgroundNode.layer, alpha: highlightProgress)
|
||||||
} else {
|
} else {
|
||||||
if self.highlightedBackgroundNode.supernode != nil {
|
if self.highlightedBackgroundNode.supernode != nil {
|
||||||
transition.updateAlpha(layer: self.highlightedBackgroundNode.layer, alpha: highlightProgress, completion: { [weak self] completed in
|
transition.updateAlpha(layer: self.highlightedBackgroundNode.layer, alpha: 1.0 - highlightProgress, completion: { [weak self] completed in
|
||||||
if let strongSelf = self {
|
if let strongSelf = self {
|
||||||
if completed {
|
if completed {
|
||||||
strongSelf.highlightedBackgroundNode.removeFromSupernode()
|
strongSelf.highlightedBackgroundNode.removeFromSupernode()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user