mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Voice Chat Fixes
This commit is contained in:
parent
615aa16420
commit
94118d9798
@ -716,7 +716,7 @@ private final class VoiceChatActionButtonBackgroundNode: ASDisplayNode {
|
|||||||
guard let strongSelf = self else {
|
guard let strongSelf = self else {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if strongSelf.state != .connecting && strongSelf.state != .disabled {
|
if strongSelf.state != .connecting {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
strongSelf.maskBlobView.isHidden = true
|
strongSelf.maskBlobView.isHidden = true
|
||||||
@ -745,7 +745,7 @@ private final class VoiceChatActionButtonBackgroundNode: ASDisplayNode {
|
|||||||
guard let strongSelf = self else {
|
guard let strongSelf = self else {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if strongSelf.state != .connecting && strongSelf.state != .disabled {
|
if strongSelf.state != .connecting {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
strongSelf.maskBlobView.isHidden = true
|
strongSelf.maskBlobView.isHidden = true
|
||||||
@ -766,7 +766,7 @@ private final class VoiceChatActionButtonBackgroundNode: ASDisplayNode {
|
|||||||
self.animatingDisappearance = false
|
self.animatingDisappearance = false
|
||||||
self.growingForegroundCircleLayer.isHidden = true
|
self.growingForegroundCircleLayer.isHidden = true
|
||||||
self.disableGlowAnimations = false
|
self.disableGlowAnimations = false
|
||||||
if self.state != .connecting && self.state != .disabled {
|
if self.state != .connecting {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
CATransaction.begin()
|
CATransaction.begin()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user