Various fixes

This commit is contained in:
Ilya Laktyushin
2022-08-30 01:08:02 +02:00
parent 6866f03e4e
commit 319c164369
6 changed files with 136 additions and 163 deletions

View File

@@ -77,6 +77,14 @@ final class AuthorizationSequenceEmailEntryControllerNode: ASDisplayNode, UIText
var inProgress: Bool = false {
didSet {
self.codeField.alpha = self.inProgress ? 0.6 : 1.0
if self.inProgress != oldValue {
if self.inProgress {
self.proceedNode.transitionToProgress()
} else {
self.proceedNode.transitionFromProgress()
}
}
}
}