mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Various fixes
This commit is contained in:
@@ -176,17 +176,13 @@ final class AuthorizationSequenceEmailEntryControllerNode: ASDisplayNode, UIText
|
||||
private func updateButtonsVisibility(transition: ContainedViewLayoutTransition) {
|
||||
if self.currentEmail.isEmpty && self.appleSignInAllowed {
|
||||
transition.updateAlpha(node: self.proceedNode, alpha: 0.0)
|
||||
// if self.proceedNode.isHidden {
|
||||
transition.updateAlpha(node: self.dividerNode, alpha: 1.0)
|
||||
// }
|
||||
transition.updateAlpha(node: self.dividerNode, alpha: 1.0)
|
||||
if let signInWithAppleButton = self.signInWithAppleButton {
|
||||
transition.updateAlpha(layer: signInWithAppleButton.layer, alpha: 1.0)
|
||||
}
|
||||
} else {
|
||||
transition.updateAlpha(node: self.proceedNode, alpha: 1.0)
|
||||
// if self.proceedNode.isHidden {
|
||||
transition.updateAlpha(node: self.dividerNode, alpha: 0.0)
|
||||
// }
|
||||
transition.updateAlpha(node: self.dividerNode, alpha: 0.0)
|
||||
if let signInWithAppleButton = self.signInWithAppleButton {
|
||||
transition.updateAlpha(layer: signInWithAppleButton.layer, alpha: 0.0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user